[Pdns-users] Mysql PTR

Roeland Nieuwenhuis trancer at poweradmin.org
Fri Feb 28 03:10:14 UTC 2003


Hi,

You need the arpa representation. 

1.50.168.192.in-addr.arpa as name not 192.168.50.1.

Regards,

Roeland
-----Original Message-----
From: pdns-users-bounces at mailman.powerdns.com
[mailto:pdns-users-bounces at mailman.powerdns.com] On Behalf Of Graham
White
Sent: vrijdag 28 februari 2003 3:52
To: pdns-users at mailman.powerdns.com
Subject: [Pdns-users] Mysql PTR 


Tried to get a reverse lookup working on an ip but without much success,
I tried a few variations on the insert statement below, any ideas?
Thanks

insert into records (domain_id, name,type,content,ttl,prio) select id
,'test.com', 
'PTR', '192.168.50.1', 3600, 0 from domains where name='test.com';

Graham White
graham at bravenet.com




More information about the Pdns-users mailing list