Current time: 11-23-2024, 07:15 AM Hello There, Guest! (LoginRegister)


Post Reply 
PTR/RDNS Records for Mail Server
Author Message
andars Offline
Junior Member
*

Posts: 12
Joined: Apr 2007
Reputation: 0
Post: #1
PTR/RDNS Records for Mail Server
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.
05-03-2007 05:40 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: PTR/RDNS Records for Mail Server
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
05-03-2007 07:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
andars Offline
Junior Member
*

Posts: 12
Joined: Apr 2007
Reputation: 0
Post: #3
RE: PTR/RDNS Records for Mail Server
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
05-04-2007 03:41 PM
Find all posts by this user Quote this message in a reply
victor531 Offline
Junior Member
*

Posts: 167
Joined: Oct 2007
Reputation: 3
Post: #4
RE: PTR/RDNS Records for Mail Server
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
(This post was last modified: 09-01-2008 12:16 AM by victor531.)
09-01-2008 12:13 AM
Find all posts by this user Quote this message in a reply
victor531 Offline
Junior Member
*

Posts: 167
Joined: Oct 2007
Reputation: 3
Post: #5
RE: PTR/RDNS Records for Mail Server
Hi... anyone there, a guru if you please....?Shy


Victor
09-02-2008 04:53 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)