Clients don't receive DNS Information via DHCP

  • 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


    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;
    subnet netmask {
    option subnet-mask;
    range dynamic-bootp;
    default-lease-time 180;
    max-lease-time 300;
    option domain-name-servers,;
    option routers;
    filename “pxelinux.0”;


    auto lo
    iface lo inet loopback
    auto eth0
    iface eth0 inet static

  • 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…

  • 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 …

  • 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.

  • 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?

Log in to reply





Looks like your connection to FOG Project was lost, please wait while we try to reconnect.