dhclient and dynamic DNS

Noah admin2 at enabled.com
Sun Jul 29 01:58:28 UTC 2007


Hi there Ubuntu list,

I am having a bit of trouble with getting dynamic DNS working.  I have 
dynamic DNS configured in my dhclient.conf configuration like below. 
But on the client side the error shows that I am sending the update to 
the IP address of the client server instead of the IP address defined by 
the "primary" line in the "zone domain.com" stanza.

all messages revise the real hostname, IP address, and domain name.  I 
am hoping somebody can catch my misconfiguration.

so the error looks as follows:

--- snip ---

Jul 28 18:57:13 real.host dhclient: Can't update forward map 
real.host.domain.com. to <ip_address_of_real.host.domain.com.>: timed out

--- snip ---

cat /etc/dhcp3/dhclient.conf
send fqdn.fqdn "real.host.domain.com.";
send fqdn.encoded on;
send fqdn.server-update off;

key real.host.domain.com {
    algorithm HMAC-MD5;
    secret "secret";
};

zone domain.com {
     primary <domain_name_server_ip>;
     key "real.host.domain.com";
}

supersede domain-name "domain.com home.domain.com";
prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
         domain-name, domain-name-servers, host-name;



--- snip ---

Cheers,
Noah






More information about the ubuntu-users mailing list