On Sun, 27 Jul 2008 20:55:05 +0300 Omer Zak <[EMAIL PROTECTED]> wrote:
> While I still do not know if and which command allows one to retrieve > all information transferred by a DHCP transaction, three people Don't know about dhcp but regarding the original question regarding dns, two commands to query dns servers are dig and nslookup As for listening in on the dhcp transaction, possibly tcpdump or wireshark will do the job. > (Geoffrey S. Mendelson, Ori Idan and Micha <michf at post.tau.ac.il>) > pointed out the file /etc/resolv.conf > > Meanwhile, I found that when connection starts, the > original /etc/resolv.conf is renamed as /etc/resolv.conf.pppd-backup, > and a new /etc/resolv.conf is filled with values from the DHCP server. > When connection is severed, the original /etc/resolv.conf is restored. > > There are also /etc/dhclient-script, /etc/dhclient.conf (consisting only > of comments), etc/dhcp3 (a directory, which has hooks for ntpdate and > samba). > > --- Omer > > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]