View Single Post

  #6 (permalink)  
Old 11-10-2004
Bill Unruh
 
Posts: n/a
Default Re: resolve.conf clobbered by DHCP

nathan.spear@iovation.com (Nathan Spear) writes:

]Acutally, I asked the wrong question. I do want my Microsoft DHCP
]server to overwrite the resolv.conf, but with the 3 dns suffixes, not
]just one. Right now it is only writing a single domain on the search
]line which requires editting by the user every day.

Why? All that search line does is be used if you hand it a single name.
ping bloggs
will put those three names after bloggs and go to the dns server to ask for those names. Now why do you want it to do that?


]Here is the desired resov.conf;
] [root@lt-dpc1 etc]# more resolv.conf
] ; generated by /sbin/dhclient-script
] search foo.bar.com next.domain.com another.domain.com
] nameserver 192.168.12.60
] nameserver 192.168.12.62

]Here is what the DHCP server is writing to the Linux clients;
] [root@lt-dpc1 etc]# more resolv.conf
] ; generated by /sbin/dhclient-script
] search foo.bar.com
] nameserver 192.168.12.60
] nameserver 192.168.12.62

]Does anyone know how to pass the right search string to the Linux host
]with a Microsoft DHCP server (Windows Server 2003)

Reply With Quote