HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   No Reverse DNS (http://www.howtoforge.com/forums/showthread.php?t=3690)

rbartz 13th April 2006 13:33

No Reverse DNS
 
Thank you guys for what you have done with the guides and ispConfig... it is AMAZING! :)

I just put up a new server (Fedora Core 3) using "The Perfect Setup" (APT is great!) and installed ispConfig 2.2.0, upgraded to 2.2.1. I couldn't put the OS in myself (leased), so there were a few bumps, but we now have a working system. Most everything is going, it even installs FrontPage extensions for us.

Only the DNS setup escapes me. It is hard for me to understand. Thanks to the How-To for Traditional DNS, I got things going more or less...

My problem is NO ANSWER on reverse lookups. It works well forward for both the primary server and an added domain we host... but I can't get the reverse to answer.

[root@server source]# dig wvis2.net any

; <<>> DiG 9.2.5 <<>> wvis2.net any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32139
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;wvis2.net. IN ANY

;; ANSWER SECTION:
wvis2.net. 166116 IN NS ns1.wvis2.net.
wvis2.net. 166116 IN NS ns2.granitecanyon.com.

;; Query time: 1 msec
;; SERVER: 216.55.144.5#53(216.55.144.5)
;; WHEN: Thu Apr 13 04:17:43 2006
;; MSG SIZE rcvd: 80

[root@server source]# dig -x 66.226.75.8

; <<>> DiG 9.2.5 <<>> -x 66.226.75.8
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 46254
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;8.75.226.66.in-addr.arpa. IN PTR

;; Query time: 1 msec
;; SERVER: 216.55.144.5#53(216.55.144.5)
;; WHEN: Thu Apr 13 04:18:25 2006
;; MSG SIZE rcvd: 42

my /var/named/chroot/var/named/pri.wvis2.net looks like this:

$TTL 86400
@ IN SOA ns1.wvis2.net. admin.wvis2.net. (
2006041301 ; serial, todays date + todays serial #
28800 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;
NS ns1.wvis2.net. ; Inet Address of name server 1
NS ns2.granitecanyon.com. ; Inet Address of name server 2
;

@ MX 10 server.wvis2.net.

wvis2.net. A 66.226.75.8
www A 66.226.75.8
server A 66.226.75.8

ftp CNAME www.

;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;

and /var/named/chroot/var/named/pri.75.226.66.in-addr.arpa looks like this:

$TTL 86400
@ IN SOA ns1.wvis2.net. hostmaster.wvis2.net. (
2006041301 ; serial, todays date + todays serial #
28800 ; Refresh
7200 ; Retry
604800 ; Expire
86400) ; Minimum TTL
NS ns1.wvis2.net.
NS ns2.granitecanyon.net.
8 PTR wvis2.net.
8 PTR www.wvis2.net.
8 PTR server.wvis2.net.
8 PTR wvisware.com.
8 PTR www.wvisware.com.
8 PTR dwellinghousedecor.com.
8 PTR www.dwellinghousedecor.com.

;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;

Do you see anything wrong? Thanks for any help.

Richard

falko 13th April 2006 14:05

The records look ok. You must ask your provider who gave you the 66.226.75.8 IP address to create an appropriate reverse record for you.

BTW, ns2.granitecanyon.com does not seem to have been updated. I get this on ns2.granitecanyon.com:

Code:

dig @ns2.granitecanyon.com any wvis2.net

; <<>> DiG 9.2.1 <<>> @ns2.granitecanyon.com any wvis2.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15080
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 15

;; QUESTION SECTION:
;wvis2.net.                    IN      ANY

;; AUTHORITY SECTION:
net.                    28760  IN      NS      A.GTLD-SERVERS.net.
net.                    28760  IN      NS      G.GTLD-SERVERS.net.
net.                    28760  IN      NS      H.GTLD-SERVERS.net.
net.                    28760  IN      NS      C.GTLD-SERVERS.net.
net.                    28760  IN      NS      I.GTLD-SERVERS.net.
net.                    28760  IN      NS      B.GTLD-SERVERS.net.
net.                    28760  IN      NS      D.GTLD-SERVERS.net.
net.                    28760  IN      NS      L.GTLD-SERVERS.net.
net.                    28760  IN      NS      F.GTLD-SERVERS.net.
net.                    28760  IN      NS      J.GTLD-SERVERS.net.
net.                    28760  IN      NS      K.GTLD-SERVERS.net.
net.                    28760  IN      NS      E.GTLD-SERVERS.net.
net.                    28760  IN      NS      M.GTLD-SERVERS.net.

;; ADDITIONAL SECTION:
A.GTLD-SERVERS.net.    28730  IN      A      192.5.6.30
A.GTLD-SERVERS.net.    28730  IN      AAAA    2001:503:a83e::2:30
G.GTLD-SERVERS.net.    28730  IN      A      192.42.93.30
H.GTLD-SERVERS.net.    28730  IN      A      192.54.112.30
C.GTLD-SERVERS.net.    28730  IN      A      192.26.92.30
I.GTLD-SERVERS.net.    28730  IN      A      192.43.172.30
B.GTLD-SERVERS.net.    28730  IN      A      192.33.14.30
B.GTLD-SERVERS.net.    28730  IN      AAAA    2001:503:231d::2:30
D.GTLD-SERVERS.net.    28730  IN      A      192.31.80.30
L.GTLD-SERVERS.net.    28730  IN      A      192.41.162.30
F.GTLD-SERVERS.net.    28730  IN      A      192.35.51.30
J.GTLD-SERVERS.net.    28730  IN      A      192.48.79.30
K.GTLD-SERVERS.net.    28730  IN      A      192.52.178.30
E.GTLD-SERVERS.net.    28730  IN      A      192.12.94.30
M.GTLD-SERVERS.net.    28730  IN      A      192.55.83.30

;; Query time: 162 msec
;; SERVER: 38.97.212.53#53(ns2.granitecanyon.com)
;; WHEN: Thu Apr 13 14:02:01 2006
;; MSG SIZE  rcvd: 512

and this on ns1.wvis2.net:

Code:

dig @ns1.wvis2.net any wvis2.net

; <<>> DiG 9.2.1 <<>> @ns1.wvis2.net any wvis2.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23798
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;wvis2.net.                    IN      ANY

;; ANSWER SECTION:
wvis2.net.              86400  IN      SOA    ns1.wvis2.net. admin.wvis2.net. 2006041301 28800 7200 604800 86400
wvis2.net.              86400  IN      NS      ns1.wvis2.net.
wvis2.net.              86400  IN      NS      ns2.granitecanyon.com.
wvis2.net.              86400  IN      MX      10 server.wvis2.net.
wvis2.net.              86400  IN      A      66.226.75.8

;; ADDITIONAL SECTION:
ns2.granitecanyon.com.  171522  IN      A      69.67.108.10
server.wvis2.net.      86400  IN      A      66.226.75.8

;; Query time: 164 msec
;; SERVER: 66.226.75.8#53(ns1.wvis2.net)
;; WHEN: Thu Apr 13 14:01:38 2006
;; MSG SIZE  rcvd: 193

Make sure zone transfers work.

rbartz 13th April 2006 14:20

Ok, Thanks - I thought I might
 
Falko,

Thanks so much for the FAST reply! I will contact my server provider and ask for reverse pointer to the server name.

The ns2.granitecanyon.com entry was just created as secondary about 12 hours ago. I added it because our other servers use the provider's DNS servers, so we can't be our own "secondary" yet... I had both name servers pointed to this server's IP address before as NS1 and NS2, which I see is not recommended.

Thanks for your work on the DNS things, I now know far more about DNS than I ever wanted to. It has to be the most difficult part of setting up a server.

Thanks again!

Richard


All times are GMT +2. The time now is 17:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.