View Full Version : [ubuntu] dhcp3-server is not committing correct dns-address to win XP client

October 15th, 2010, 05:12 PM

I'm troubling setting up my dhcp3-server.

Although I've configured "option domain-name-servers" in my dhcpd.conf my windows-xp-clients dns-server address is set to

This is strange! All other things seem to work correctly.

This is my dhcpd.conf:

ddns-updates on;
ddns-update-style interim;
update-static-leases on;
ignore client-updates;

default-lease-time 86400;
max-lease-time 86400;

log-facility local7;

subnet netmask {
range dynamic-bootp;

option domain-name "local.invalid";
option domain-name-servers;
option netbios-name-servers;


option routers;

I would appreciate if anyone can help me.


October 15th, 2010, 05:14 PM
I see this line in dhcpd.conf

option domain-name-servers;


October 15th, 2010, 07:00 PM
Ooops! :oops:

I was checking out some things before and it seems I posted the dhcpd.conf with the wrong line.

Anyway, I corrected the line to
option domain-name-servers

The problem is still the same. I even tried some fantasy ip's like On the winXP client the dns-server stays at

It is not reacting to any changes.

October 15th, 2010, 07:29 PM
A dumb question, probably 2. Did you clear the ip cache on Windows XP after those changes?

ipconfig /all flushdns

netsh interface ip delete arpcache

Also did you restart the server or reload the config?

sudo service dhcp3-server restart

sudo service dhcp3-server reload