Navigation


rev records in db

rastrano

Member since: 2011-03-29 16:36

Added: 2011-03-29 16:44

Hi, i just runned eagledns with mysql backend succesfully (i also tested to resolve ipv6 AAAA records) But i'm wondering: what is the correct insert query needed to put a ptr record? Im not able to do reverse lookups
Unlogic

Member since: 2008-01-27 20:43

Added: 2011-04-04 13:50

It's nice to hear that you got Eagle DNS 1.0 up and running. I have tested both version 1.0 and the upcoming version 1.1 of Eagle DNS with millions of queries but I haven't done any specific testing for PTR records.

Do you have control over the reverse zone for your IP-adreses?

I depends on your ISP but usually reverse DNS is strictly controlled by your ISP.

Inserting a PTR record is just like inserting any other record, just make sure that the type column is set to "PTR".

rastrano

Member since: 2011-03-29 16:36

Added: 2011-04-04 16:05

We are our ISP, we are the italian NREN and we're looking for a database based dns implementation to test new ways to manage our backbone entries.

i'm testing it with:

 

nslookup -type=PTR 85.230.75.184 localhost

 

but i get:

No domain name pointer record ( PTR) available

 

what is the way? i need to create a in-addr.arpa zone or to put "in-addr.arpa" in the record?

 

now i have:

 

zones:

 

'1', 'samplezone.org.', 'IN', 'dns.samplezone.org.', 'unlogic.samplezone.org.', '20091118', '300', '120', '86400', '300', '0', '300', NULL
'2', '75.230.85.in-addr.arpa', 'IN', 'dns.samplezone.org.', 'unlogic.samplezone.org.', '20091118', '300', '120', '86400', '300', '0', '300', NULL
 
records:
 
'1', '1', '@', 'NS', 'dns.samplezone.org.', NULL, 'IN'
'2', '1', '@', 'A', '', NULL, 'IN'
'3', '1', 'www', 'A', '85.230.75.184', NULL, 'IN'
'4', '1', 'ftp', 'A', '85.230.75.184', NULL, 'IN'
'5', '1', 'dns', 'A', '85.230.75.184', NULL, 'IN'
'6', '1', 'mail', 'A', '85.230.75.184', NULL, 'IN'
'7', '1', 'test', 'A', '85.230.75.188', NULL, 'IN'
'8', '1', 'test', 'AAAA', '3ffe:1900:4545:3:200:f8ff:fe21:67cf', NULL, 'IN'
'9', '2', '184', 'PTR', 'www.samplezone.org', NULL, 'IN'
 
but i tried almost all combinations.
 
 
please help me to understand what is my mistake.
 
Thank you in advance.
 
Best regards,
Stefano.
 
 
 

 

 

 

Unlogic

Member since: 2008-01-27 20:43

Added: 2011-04-05 10:44

I'll do some test on this tonight and see if I can provide you with a working example.