5 May
2006
5 May
'06
23:39
On 05/05/06 14:32, Peter Van Lone wrote:
On 5/5/06, Bruce Marshall
wrote: The DNS would be in /etc/resolv.conf
That file either gets re-written when a DHCP address is picked up or it can be static if you've set it up that way.
cool -- didn't occur to me it would write that each time ... I think of that as being "static assignments".
Thanx again, Bruce ...
If you are using dhclient, "cat /var/lib/dhcp/dhclient.leases". This file tends to get rather long, as expired leases are kept in it for some time. If you are using dhcpcd, "cat /var/lib/dhcpcd/dhcpcd-<iface>.info", where <iface> is the network interface, eg eth0, wlan0, etc.