Linux - NetworkingThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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).
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?
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.