Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
09-16-2006, 12:45 PM
|
#1
|
|
Senior Member
Registered: Feb 2003
Location: Washington D.C
Posts: 2,052
Rep:
|
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?
|
|
|
|
09-16-2006, 12:54 PM
|
#2
|
|
Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,644
|
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.
|
|
|
|
09-16-2006, 01:06 PM
|
#3
|
|
Senior Member
Registered: Feb 2003
Location: Washington D.C
Posts: 2,052
Original Poster
Rep:
|
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
|
|
|
|
09-16-2006, 05:44 PM
|
#4
|
|
Member
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620
Rep:
|
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.
|
|
|
|
09-16-2006, 07:26 PM
|
#5
|
|
Senior Member
Registered: Feb 2003
Location: Washington D.C
Posts: 2,052
Original Poster
Rep:
|
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.
|
|
|
|
09-16-2006, 08:07 PM
|
#6
|
|
Member
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620
Rep:
|
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
|
|
|
|
09-18-2006, 03:28 PM
|
#7
|
|
Senior Member
Registered: Feb 2003
Location: Washington D.C
Posts: 2,052
Original Poster
Rep:
|
but for the time being I can just add the 10 machines manually right. thanks
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:07 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|