troubleshooting Question

Networking, DNS behind router with bind9

Avatar of Roba122
Roba122 asked on
Linux NetworkingDNS
14 Comments1 Solution593 ViewsLast Modified:
I'm just having the hardest time with something I consider should be easy.  I have the following

Static IP
Router w/portforwarding to my server and port 53 tcp/udp for dns to the same machine
Server is behind the router

I want to setup dns on the server so that I can have my go to the server.

I've set up a zone for and reverse dns.   I think Im close but just missing something,


I've set up reverse dns

Doesnt seem to be working.

And I've set up reverese dns for the public facing IP (my server is on, locally)

But that doesnt seem to be working, I just thought
My zone file for my domain 
@ IN    SOA (
);      IN      NS          IN      MX     10
www              IN      A       PU.BL.IC.IP
mta              IN      A       PU.BL.IC.IP
ns1              IN      A       PU.BL.IC.IP     IN      NS
My reverese dns zone file
@       IN      SOA (
                        86400 )
                    IN    NS
IP                   IN    PTR
#where IP is the last digit of my public ip
my named.conf file has the following
zone "" {
        type master;
        file "/etc/bind/zones/";
# PU.BL.IC.IP = public ip address
zone "" {
     type master;
     file "/etc/bind/zones/";
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 14 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros