1755764 Members
3065 Online
108838 Solutions
New Discussion юеВ

modify dns record

 
SOLVED
Go to solution
Michael_33
Regular Advisor

modify dns record

i have an old mail server (say mail1 with ip 10.10.10.1), now i want to change to mail2 (10.10.10.11), all the incoming/outgoing mail will go to the mail2 server, what to do in DNS config file?
doing something in MX record? .....

high score, thx!
9 REPLIES 9
Michael_33
Regular Advisor

Re: modify dns record

any reply will be assgined at least 6 points
Rajeev  Shukla
Honored Contributor

Re: modify dns record

Hi Michael,

Yes you need to modify the MX record in your DNS server to the new mail server you would host.
In the DNS you should have
IN MX 10 mail2..

This will ensure any clients in that domain will follow the MX record for exchanging mails.

Cheers
Rajeev
Michael_33
Regular Advisor

Re: modify dns record

thx! Rajeev, any other need to change?
Michael_33
Regular Advisor

Re: modify dns record

vi named.conf?
Rajeev  Shukla
Honored Contributor
Solution

Re: modify dns record

Yes Michael, thats the only change you would be doing and restarting DNS services.

You need not modify named.conf file as it is purely to have the DNS forwarders and zone defined

Cheers
Rajeev
Michael_33
Regular Advisor

Re: modify dns record

ok, any other guy's reply will be welcome ^_^
Ermin Borovac
Honored Contributor

Re: modify dns record

I think you'll also need to increment serial number in the zone file. This number tells secondary name servers that data on primary has changed and needs to be refreshed.
Michael_33
Regular Advisor

Re: modify dns record

hi ermin,

how to change?
Ermin Borovac
Honored Contributor

Re: modify dns record

Here is a sample SOA record in zone file.

xxx.xxx.xxx IN SOA xxx.xxx.xxx.xxx. xxx.xxx.xxx.xxx. (
123456 ; serial
900 ; refresh (15 minutes)
600 ; retry (10 minutes)
86400 ; expire (1 day)
600 ; minimum (10 minutes)
)

You should increment serial number by 1; change it to 123457. Then run the following command on the primary and secondary servers.

# sig_named restart