Women in Technology

Hear us Roar



Article:
  Introducing DHCP
Subject:   Host name lookup failure
Date:   2003-12-15 18:04:31
From:   anonymous2
Response to: Host name lookup failure

Usually a freebsd machine will create a resolv.conf file from the DHCP option in the DHCP offer:


option domain-name-servers #.#.#.#, #.#.#.#;


1) make sure that the dns declaration in the dhcp lease is spelt correctly (i.e. is plural.)


Also you can test the dns server itself:


2) this will work if the dns server is working:
-> dnsquery -n #.#.#.# www.yahoo.com
#[replace #.#.#.# with the dns server given]
#also try dig ( dig(0) )