• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Clients don't receive DNS Information via DHCP

Scheduled Pinned Locked Moved
FOG Problems
3
5
2.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    JKO
    last edited by Mar 6, 2012, 12:43 PM

    Hi Folks,

    I need some help! everything is running fin, gateway and dns server are in the dhcp.conf and resolfe.conf
    Clients getting there IPS correctly, and the Gateway too - but no DNS entry.

    Client sending DHCPDISCOVER
    Server send DHCPOFFER
    and Cleint answers with DHCPACK

    but no DNS - i can reach every server (also internet) by using IP adresses, but nothin by name
    The Fogserver DNS itself working weill.

    I got over and over the configs - everything fine - so what can I do - please help!

    thx jan

    forgott the system info and configs - sorry:

    [CODE]System Info:

    FOG Server Version: 0.32

    Distributor ID: Ubuntu
    Description: Ubuntu 11.10
    Release: 11.10
    Codename: oneiric

    dhcpd.conf:

    DHCP Server Configuration file.

    see /usr/share/doc/dhcp*/dhcpd.conf.sample

    This file was created by FOG

    use-host-decl-names on;
    ddns-update-style interim;
    ignore client-updates;
    next-server 10.7.30.183;
    subnet 10.7.30.0 netmask 255.255.255.0 {
    option subnet-mask 255.255.255.0;
    range dynamic-bootp 10.7.30.201 10.7.30.235;
    default-lease-time 180;
    max-lease-time 300;
    option domain-name-servers 10.7.1.18, 10.7.1.20;
    option routers 10.7.30.254;
    filename “pxelinux.0”;
    }

    /etc/resolv.conf
    nameserver 10.7.1.18
    nameserver 10.7.1.20

    /etc/network/interfaces
    auto lo
    iface lo inet loopback
    auto eth0
    iface eth0 inet static
    address 10.7.30.183
    netmask 255.255.255.0
    network 10.7.30.0
    broadcast 10.7.30.255
    gateway 10.7.30.254[/CODE]

    1 Reply Last reply Reply Quote 0
    • J
      joshua
      last edited by Mar 6, 2012, 10:50 PM

      can you specify more detail?

      Where is DNS on your network? is it a domain server? is DNS on this fog server? [B]IS DNS and DHCP on the same server?[/B]

      Also, please verify that you only have 1 DNS server on your network. (may have installed it with fog and now you have two… that happend to me once.)

      please provide more detail and we can try to help you further. also what does an NSLookup command show you?

      1 Reply Last reply Reply Quote 1
      • J
        Jtb
        last edited by Mar 7, 2012, 12:11 AM

        The FOG-Client only uses bootp and no dhcp…
        Means: no dhcp -> no dns…

        But I vote for adding real dhcp support for dhcp environments with dhcp snooping and dynamic arp inspection.

        Jens

        1 Reply Last reply Reply Quote 0
        • J
          JKO
          last edited by Mar 7, 2012, 6:53 AM

          we have 2 DNS Server in the network - FOG is DHCP but NOT the DNS
          FOGSERVER itself kan resolve hostnames - nslookup on FOG Server works well - Clients are booting with DHCP and get correct address from FOG Server, but gateway and DNS are missing by using IPCONFIG on the clients.

          From Fogserver both DNS in our Network working well - tested with dig on every DNS and approved …

          1 Reply Last reply Reply Quote 0
          • J
            Jtb
            last edited by Mar 7, 2012, 8:55 AM

            The DNS-Server isn’t assigned automatically - the FOG-Client only uses bootp for PXE-Boot and after that Kernel-DHCP.

            If you need DNS inside the FOG-Client you can use the PXE_IMAGE_DNSADDRESS setting.

            But I don’t know why your gateway is missing…

            Jens

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              3/5
              Last post

            158

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project