LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-16-2006, 12:45 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
DNS A records BIND SUSE 10


I setup BIND running on SUSE 10 and configure the SOA file with the A record of the DNS server and some other configurations. On the DNS server itself I can run [HTML]host Darcidious[/HTML]and get a response. If I go to any other machine (Which I have assign the right DNS ip address) and try and ping any machine including Darcidious which is the DNS server I cannot get a reponse. My question is do I have to add the machine names and IP address of all the machines on my network including my windows machines as A records in the SOA file in order to be able to ping them?
 
Old 09-16-2006, 12:54 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Is the issue that you can't ping by name or can't ping by IP address? If you can ping by IP address but not by name then it likely means you haven't setup /etc/resolv.conf or BIND itself isn't setup properly.

/etc/resolv.conf should contain something like:

nameserver <ip address>

Where <ip address> is the IP of the name server itself.
 
Old 09-16-2006, 01:06 PM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
I cannot ping by name and I do have the ip address of my nameserver in /etc/resolv.conf so it must be bind. When setting up bind do
I have to add all of my ip address and names of all my linux and windows machines in as a A record. I have attempted to setup a CACHE server and any DNS request that my server cannot handle it forwards it to my ISP DNS server. Help
 
Old 09-16-2006, 05:44 PM   #4
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Quote:
When setting up bind do I have to add all of my ip address and names of all my linux and windows machines in as a A record.
Yes! There must be an address (A) record (and PTR record) for each host. Address records and PTR records can be added to a zone file either statically and/or dynamically via DDNS.

FWIW: I use DHCP to update DNS zone files dynamically.
 
Old 09-16-2006, 07:26 PM   #5
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
so what I need to do is add these manually. So when you implement a new DNS server into an already existing environment then the admins add them statically,that is tedious. How does one perform a discovery of the nodes on a network to simplify this task. That seems crazy if you have several hundred host on a network. When I say nodes I mean internally and not a list of DNS servers from Internic. I hope everyone understands what I am asking. I have ten nodes in my home network, do I manually add all 10 names and IP address as a A record and a PTR record?

Last edited by metallica1973; 09-18-2006 at 03:27 PM.
 
Old 09-16-2006, 08:07 PM   #6
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Then I would look at implementing DDNS. When a host gets a DHCP address assigned, the DHCP server can send an update (nsupdate) to your DNS server to add address and ptr records.

For more info and a good example config, type:
man dhcpd.conf

search for the chapter DYNAMIC DNS UPDATES
 
Old 09-18-2006, 03:28 PM   #7
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
but for the time being I can just add the 10 machines manually right. thanks
 
  


Reply



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
A records not showing up with Bind sks5530 Linux - Networking 2 06-01-2006 06:03 AM
DNS and MX Records... jademan83 Linux - Networking 1 07-09-2005 11:02 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
Old DNS records Matir Linux - Networking 2 02-11-2005 12:44 PM
DNS forwarders and A-Records fquinteros Linux - Networking 1 08-23-2003 05:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration