LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-02-2007, 05:58 AM   #1
HitenK
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
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,
 
Old 08-04-2007, 08:12 AM   #2
c955437
LQ Newbie
 
Registered: Jul 2007
Posts: 3

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie: Fedora Core 4 as a DHCP & DNS server hunterhunter Linux - Networking 3 04-24-2006 11:55 PM
Suse DNS vs free DNS server for Newbie maxsanders Linux - Newbie 1 01-31-2006 04:57 PM
Easy setup for "DNS, DHCP, squid, qmail, samba, etc " mobassir Linux - Software 8 08-18-2004 07:31 AM
forward dns from dhcp to dhcp Fark Linux - Networking 3 03-31-2004 10:40 AM
Squid And DHCP x-miles Linux - Networking 0 12-08-2003 04:04 PM


All times are GMT -5. The time now is 11:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration