responsible mail in DNS

RosenCruz

Verified User
Joined
Apr 2, 2010
Messages
10
Hello , today a user of mine asked me this question about mail DNS zone.

I need to edit "responsible mail addr" in DNS zone for domain name stoneflower.net.ua and change it to [email protected]. I was looking at manuals and it seems that DA does not allow to edit SOA. Please change it or tell me how can I do it myself, I will need it later again for other domains.


Can someone help me about how to help that user ?

Regards;
 
Hi,

You can edit the individual zone:

/etc/bind/<domain>.db

and add the SOA record in there.

DNS Zone templates are located here:
/usr/local/directadmin/data/templates/custom/named.db
/usr/local/directadmin/data/templates/named.db

Don't forget to reload bind once you're done.
 
I find it a strange request because I have never had anybody actually use that address.

On RedHat based systems the zone files are located in /var/named
 
here is the file for stoneflower.net.ua.db

Code:
$TTL 14400
@       IN      SOA     ns3.webhost.in.ua.      hostmaster.stoneflower.net.ua. (
                                                2010042200
                                                14400
                                                3600
                                                1209600
                                                86400 )

stoneflower.net.ua.	14400	IN	NS	ns3.webhost.in.ua.
stoneflower.net.ua.	14400	IN	NS	ns4.webhost.in.ua.

ftp	14400	IN	A	64.191.124.54
localhost	14400	IN	A	127.0.0.1
mail	14400	IN	A	64.191.124.54
pop	14400	IN	A	64.191.124.54
smtp	14400	IN	A	64.191.124.54
stoneflower.net.ua.	14400	IN	A	64.191.124.54
www	14400	IN	A	64.191.124.54

stoneflower.net.ua.	14400	IN	MX	10 mail



stoneflower.net.ua.	14400	IN	TXT	"v=spf1 a mx ip4:64.191.124.54 ~all"

which part should I edit ?

Regards;
 
Last edited:
Thanks a lot for the answers.

$TTL 14400
@ IN SOA ns3.webhost.in.ua. hostmaster.stoneflower.net.ua. (
2010042200
14400
3600
1209600
86400 )

stoneflower.net.ua. 14400 IN NS ns3.webhost.in.ua.
stoneflower.net.ua. 14400 IN NS ns4.webhost.in.ua.

ftp 14400 IN A 64.191.124.54
localhost 14400 IN A 127.0.0.1
mail 14400 IN A 64.191.124.54
pop 14400 IN A 64.191.124.54
smtp 14400 IN A 64.191.124.54
stoneflower.net.ua. 14400 IN A 64.191.124.54
www 14400 IN A 64.191.124.54

stoneflower.net.ua. 14400 IN MX 10 mail



stoneflower.net.ua. 14400 IN TXT "v=spf1 a mx ip4:64.191.124.54 ~all"

I edited that part , hope it all works fine.
 
For your information:

Actually the part you edited isn't a "Responsible Person" or "RP" record, it's the email address for the zone.

If you want to add a RP record, you would need to add something like this:

Code:
stoneflower.net.ua.	IN	RP	hostmaster.stoneflower.net.ua. hostmaster

The part you edited is known as the RNAME part of the SOA record --> email-addr and it is done in the same format (you dont use the '@' symbol, and you end it with a dot '.').

Like @floyd and @jlasman mentioned, you MUST change the zone's serial number - otherwise the updates won't occur around the world. Then you also need to restart named. (I actually prefer to reload instead of restart).

An interesting thing here is that there are plenty of tools that you can use to assist you with command-line level editing of zone records. This site has the most common:

http://www.dns.net/dnsrd/tools.html
 
Like @floyd and @jlasman mentioned, you MUST change the zone's serial number - otherwise the updates won't occur around the world. Then you also need to restart named. (I actually prefer to reload instead of restart).

Actually for the record I have never had a problem with updates when I did not change the serial number. AFAIK the serial number is used for slave dns servers only. If you don't have any slaves then it doesn't matter. All the nameservers around the world do not check the serial number. Only the slaves check. If I am wrong though let's start a new thread to discuss it. But you do have to reload named.

Quoted from the link I provided:
Email address of the person responsible for this zone and to which email may be sent to report errors or problems. In the jargon this is called the RNAME field

You are saying the "responsible person" is different than RNAME but they are saying its the same. In doing some research I find that RP is a new kind of record. I am still trying to figure out the difference.
 
I always change and I always recommend changing, the serial number. Yes, it only effects propagation to slave nameservers, but of course if slave nameservers don't get updated, that could easily affect propagation around the world, and worse, in a random way which will be hard to troubleshoot.

I wouldn't bother with RP records unless you get a specific request for them; it appears to be a duplicate of the information in the email address field of the SOA record. Perhaps at some point in the future it will become usable by DNS directly, because the SOA record's email field is for manual use.

Jeff
 
I find it a strange request because I have never had anybody actually use that address.

In this case, net.ua domains are being delegated, only if SOA and NIC emails are the same. So while registering domain, registrant has to provide DNS servers that has zone records with registrant email in SOA.
Just to make it clear and not strange at all. I've changed this emails many times in WHM, but for some reason, DA developers don't think they should allow to edit this email easy way. Minus to DA.
 
In this case, net.ua domains are being delegated, only if SOA and NIC emails are the same. So while registering domain, registrant has to provide DNS servers that has zone records with registrant email in SOA.

Interesting. So if I want to register a net.ua domain I have to first have working DNS. Maybe not "strange" but it is different than most extensions.
 
Back
Top