Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.05 sec)
REWARD: Reverse DNS at RIPE testing tool

I need to be able to remotely test that I've set up the Reverse DNS at RIPE correctly for a /24 IP range I have.

Their online wizard says I have (there's a few simple, minor non-fail errors, like name servers on the same subnet) but I need to be confident that it's propagating.

I have a £5 Amazon Voucher and 50 Best Answer points for the, ahem, best answer (if you win then be sure to tell me which Amazon site you would like it sent from).

I'm using host 123.123.123.123 PRI.AUTHDNS.RIPE.NET at the moment but firstly I'm not sure that I'm using the correct name servers and secondly although I'm querying a RIPE name server I think I might need to use another tool like dig so there's more information and less likelihood of caching but the parameters for dig are gobbledygook.

Thanks in advance.
Asked by:
BonoEstente
1464 points
 Report Abuse
 Share Page - Category: DNS Servers - Tags: REWARD: Reverse DNS at RIPE testing tool
 Enter your response
Please use Pastie.org to paste lengthy code or to fix formatting issues with code
  • Responses in reverse (4)

To check that a given host has the reverse DNS setup correctly, you could:

host -t ptr 209.85.229.99

99.229.85.209.in-addr.arpa domain name pointer ww-in-f99.1e100.net.



or to do the same thing with dig:

dig -x 209.85.229.99

; <<>> DiG 9.6-ESV-R3 <<>> -x 209.85.229.99

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41932

;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:

;99.229.85.209.in-addr.arpa. IN PTR

;; ANSWER SECTION:

99.229.85.209.in-addr.arpa. 79482 IN PTR ww-in-f99.1e100.net.

;; Query time: 1 msec

;; SERVER: 87.117.198.200#53(87.117.198.200)

;; WHEN: Wed May 11 12:36:25 2011

;; MSG SIZE rcvd: 77



Do not specify any server to query, and it'll do it via your host's resolver, and prove that things are working across the 'net


Response by:
HelpQuick
266 points
You can try using a remote DNS server to check the reverse lookup. You can do this by providing the hostname or IP address of a DNS server to your query using nslookup or host.

bigwig:~ jimh$ host 209.85.143.104 8.8.8.8

Using domain server:

Name: 8.8.8.8

Address: 8.8.8.8#53

Aliases:


8.8.8.8 is a Google DNS server that allows recursive lookups that often comes in useful. It is handy to check if your DNS record has propagated.

Response by:
Jimbob
437 points
You can also use:

dig -x +trace +all 123.123.123.123

and this will take you through, step-by-step, the queries that are made as it contacts the root DNS servers downwards and the replies you receive. If there are issues, you can use this to find out at which point you went astray.

Response by:
jonathan
335 points
Dig can be really verbose and helps check if it's a live result and not cached. Note that the /24 IP range is written backwards in essence for the in-addr.arpa notation below.

dig +multiline @PRI.AUTHDNS.RIPE.NET 123.123.123.in-addr.arpa NS

So if your example range was: 123.456.789.0/24 then the in-addr.arpa notation would be 789.456.123.in-addr.arpa above.

I'm not sure about a list of NSs with RIPE but the one above seems correct,

Response by:
Trinity
2782 points


  • Related Questions
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2013 Server Circle