LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   listing dhcp and dns contents (https://www.linuxquestions.org/questions/linux-server-73/listing-dhcp-and-dns-contents-574172/)

HitenK 08-02-2007 05:58 AM

listing dhcp and dns contents
 
Hi guys..

just signed up today in need of some help URGENT.

we have a linux box here running Debian 22r3

is it used has a HTTP proxy "Squid" and DHCP

i have been asked by the manager to get a list of DNS and DHCP entries.

I have never used linux in my life so is there anyone out there could tell me what i have to do to get the DHCP and DNS lists. is there a way to export it ..

i would like it if the list could be viewed on a microsoft XP PC

Thanks for the help guys,

c955437 08-04-2007 08:12 AM

listing dhcp and dns contents
 
Hello.

I hope this helps, at least with the DHCP part.

We use RH Linux and the DHCP leases (if that is what you are referring to) are stored in /var/lib/dhcp directory. The leases will show what computer (IP address / computer name) has registered via the DHCP on your DHCP Server.

If the direcory sturcture is different on your flavor of LINUX, you may try to use the locate command (if it is installed) to search for leases. Usage for me is
Code:

locate lease
this found the dhcp leases file(s). You may also try this with
Code:

locate dhcp
and it will show you all files named dhcp.

I hope this provides some assistance.

Have a good day.


All times are GMT -5. The time now is 08:20 PM.