[Pdns-users] ptr - revese dns

Luis Matos gass at otiliamatos.ath.cx
Wed Apr 19 21:32:52 UTC 2006


hello there

i found several post for that, mainly these:

http://mailman.powerdns.com/pipermail/pdns-users/2003-March/000147.html

and 
http://mailman.powerdns.com/pipermail/pdns-users/2003-February/000030.html

but i still (oh my slow brain) did not get the point.

what i want to do is to have response to
host ip

mainly for email (some mail servers only get mail from mailservers that 
can be resolved reversly).

i tryied in the 2 ways shown,

first:

insert into domain (name,type) values ('0.168.192.in-addr.arpa','NATIVE');
insert into records (domain_id,name,type,content,ttl) values 
(35,'46.133.54.212.in-addr.arpa','PTR','domain.com',3600);

the answear to this is that using "host ip powerdnsserver" i have 
reverse dns (it question's directly the server), but ... i don't have 
any route to that from elsewhere.

second:

into my SOA, i added directly:
insert into records (domain_id,name,type,content,ttl) values 
(7,'46.133.54.212.in-addr.arpa','PTR','domain.com',3600);

updated SOA, and i also have reverse dns when request directly to the 
server, but not from else where.

can anybody have a small, quick and not painful answear, or how-to? thanks.

best regards

Luis Matos





More information about the Pdns-users mailing list