ispCP - Board - Support
PTR/RDNS Records for Mail Server - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: PTR/RDNS Records for Mail Server (/thread-470.html)



PTR/RDNS Records for Mail Server - andars - 05-03-2007 05:40 AM

How would I implement a ptr/rdns record for my mail server under ispcp if I were to get my ISP to delegate control of reverse dns records to me. I've read around, and I'm somewhat confused as I'm not entirely familiar with BIND.


RE: PTR/RDNS Records for Mail Server - joximu - 05-03-2007 07:21 AM

Well, you need a zonefile like this:

example: ip is 12.34.56.78

myipblock.zone:
$TTL 1D
@ IN SOA [soa record]
IN NS [your ns - ]
IN PTR my.own.hostname.tld.

and in the named.conf it may look like this:

zone "77.56.34.12.in-addr.arpa" in {
type master;
file "myipblock.zone";
};

so, the specia thing is the ".in-addr.arpa" and the PTR

Maybe we'll bring ispcp to do that too :-) - but this has less priority...
/joximu


RE: PTR/RDNS Records for Mail Server - andars - 05-04-2007 03:41 PM

Okay, thanks for the help. I still have to ask my ISP about delegating control to me. I have a commented entry setup now though. Big Grin


RE: PTR/RDNS Records for Mail Server - victor531 - 09-01-2008 12:13 AM

joximu
Please a little help here or anyone who knows about it
I tried to implement the PTR record in my server (Debian etch 4.0 - IspcpRC4), because some emails don't reach their destiny

First I've modified the named.conf file, and it looks like
----------------------------------------------------------------
// dmn [programs.cl] cfg entry BEGIN.
zone "programs.cl" {
type master;
file "/var/cache/bind/programs.cl.db";
notify YES;
allow-query {
any;
};
};
zone "223.162.13.190.in-addr.arpa" {
type master;
file "/etc/bind/programs.zone";
};
// dmn [programs.cl] cfg entry END.
-----------------------------------------------------------------

Then I've created the zone "programs.zone"
-----------------------------------------------------------------
$TTL 12H
$ORIGIN programs.cl.
@ IN SOA ns1.gnap.cl. postmaster.programs.cl. (
; dmn [programs.cl] timestamp entry BEGIN.
2008051800 ; Serial
; dmn [programs.cl] timestamp entry END.
8H ; Refresh
15M ; Retry
4W ; Expire
3H ; Minimum TTL
)
IN NS ns1.gnap.cl.
IN PTR programs.cl <--( first I tried with ns1.gnap.cl here,but nothing happened)
--------------------------------------------------------------------

Later I restarted bind , and the log showed me
--------------------------------------------------------------------
gnap named[7214]: command channel listening on ::1#953
gnap named[7214]: zone 0.in-addr.arpa/IN: loaded serial 1
gnap named[7214]: zone 127.in-addr.arpa/IN: loaded serial 1
gnap named[7214]: /etc/bind/programs.zone:3: ignoring out-of-zone data (programs.cl) /<--( why ? Sad)
gnap named[7214]: zone 223.162.13.190.in-addr.arpa/IN: has 0 SOA records /<--( why ? Sad)
gnap named[7214]: zone 223.162.13.190.in-addr.arpa/IN: has no NS records /<--( why ? Sad)
gnap named[7214]: zone 255.in-addr.arpa/IN: loaded serial 1
gnap named[7214]: zone atlanticpearl.cl/IN: loaded serial 2008081100 (<-- the other domains start here)
gnap named[7214]: zone cafemillenium.cl/IN: loaded serial 2008050800
gnap named[7214]: zone demo.cl/IN: loaded serial 2008052701
--------------------------------------------------------------------
When I check it in freedns.ws ,in PTR record, it shows me
Server: 190.13.162.223
Address: 190.13.162.223#53

*** Can't find programs.cl: No answer

and I still without PTR records Sad

Could you help me with this ?

thanks
Victor


RE: PTR/RDNS Records for Mail Server - victor531 - 09-02-2008 04:53 AM

Hi... anyone there, a guru if you please....?Shy


Victor