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. |
|
 |
12-20-2003, 05:39 PM
|
#1
|
|
Member
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111
Rep:
|
Reverse DNS problem
guys, I am having DNS problem. I've added the record together. When I did nslookup hostname , it looked fine. When I did nslookup with IP, it didn't point back to the hostname. I am using webmin to add the hostname. Any Idea?
|
|
|
|
12-20-2003, 06:30 PM
|
#2
|
|
Member
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417
Rep:
|
Did you create a PTR record for each host?
Code:
1.0.168.192.in-addr.arpa. IN PTR somehost.somedomain.com.
|
|
|
|
12-20-2003, 06:49 PM
|
#3
|
|
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
|
Are you doing an nslookup on your Internet IP? If so, you don't control that, your ISP does. No matter what you put in your zone files, they're not authoritative for your netblock (the authority hasn't been delegated to you, so no one will ever use your servers to lookup those IPs).
|
|
|
|
12-20-2003, 07:53 PM
|
#4
|
|
LQ Newbie
Registered: Sep 2003
Location: Brazil
Distribution: Slackware
Posts: 19
Rep:
|
What is your named.conf file? Also, how did you write yours zone files?
|
|
|
|
12-20-2003, 10:19 PM
|
#5
|
|
Member
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111
Original Poster
Rep:
|
Guys...thanks for you help. I created the PTR and increase the serial by 1. My nslookup for my own internal IP. Another question.. I was requested to change the A1(hostname) to A2(hostname)IP still the same. I have changed it. When I did nslookup A2 it worked fine. When I did nslookup(reverse) IP, it showed up A1. Is it PTR again? I have checked the PTR, it A2-->IP. Any idea?
|
|
|
|
12-21-2003, 01:25 AM
|
#6
|
|
Member
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111
Original Poster
Rep:
|
Guys, I found that SOA didn't increase. I think this cause the problem. Even though I updated the correct information. I have manually increase SOA by 1.When I did nslookup SOA remain the same. Any idea guys
|
|
|
|
12-21-2003, 03:47 AM
|
#7
|
|
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
|
Increase the SOA, what??? The SOA should be static (it's the Statement Of Authority). You need to make sure you increment the serial number and -HUP the daemon after every change. The order of events should be like this
edit zone file (you can make as many edits as you like)
finish editing, increment the zone serial number by one
save and close file
# ps -ef|grep named (<-- find the pid of the master named process)
# kill -HUP <pid-of-named>
$ dig @your-dns-server yourdomain.tld <record type>
PS the serial number for each zone is independent of the others. If you change the forward lookup zone (yourdomain.tld) then you need to increment the serial in that zone. If you change the reverse zone (d.c.b.a.in-addr.arpa) then you need to increment the serial in that file.
Last edited by chort; 12-21-2003 at 03:48 AM.
|
|
|
|
| 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 08:52 AM.
|
|
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
|
|