LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-21-2006, 03:53 AM   #1
madunix
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Rep: Reputation: 0
Zone files


I am in the process of moving my web/mail server to a new server and putting them on new IP's (different hosting ISP).
I want to change the direction of my http client and smtp client requests from hitting the old one to the new server,
so in this case which zone files do i need to request from my old ISP, to prepare zone templates on my new server (new ISP)
to avoid surfers from going to old server/IP.
My domain name will not change , the redirection will require only to change the IP.
 
Old 06-21-2006, 06:36 AM   #2
penguintutor
Member
 
Registered: Jun 2006
Location: UK
Distribution: Ubuntu, Mandriva, Redhat and Fedora
Posts: 118

Rep: Reputation: 15
Are you actually moving your DNS provider as well, or just the server?

In either case unless you have a large number of entries you don't need to look at the old one, just provide the new details to whoever provides your DNS.

The information that is needed are the MX entries (which need to give fully qualified domain names for your mail server), and A records (e.g. for www, and if email is provided on your own server rather than your ISPs mail server a mail A record) with the IP address of your new web server.

The rest of the details (SOA header etc.) will be created by your DNS provider.

You can check your current details using the dig command

Code:
dig mx yourdomain.com
(will show current mail settings)

Code:
dig a www.yourdomain.com
(will show A record)
- repeat for any other subdomains
e.g.
dig a mail.yourdomain.com (if using own mail server)
 
Old 06-21-2006, 08:11 AM   #3
madunix
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Original Poster
Rep: Reputation: 0
I am moving also my DNS.
 
Old 06-22-2006, 04:31 AM   #4
penguintutor
Member
 
Registered: Jun 2006
Location: UK
Distribution: Ubuntu, Mandriva, Redhat and Fedora
Posts: 118

Rep: Reputation: 15
The new DNS provider will need to know:

Mail Servers (and priorities, if more than one)

and

Any A records (e.g. any Name to address translations).

and any CNAMES (e.g. aliases).

For a standard web server (using someone else to handle your mail), then you would provide them with

Mydomainname.com
----------------

MX - mail.isp.com. (priority 10)
MX - backupmail.isp.com. (pririty 20)

www - serveripaddress
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS Zone Files Swakoo Linux - Newbie 3 06-22-2005 04:54 AM
Zone files requested Sapient Linux - Networking 3 03-23-2005 10:13 PM
Bind and DNS information conf files and zone files aaronluke Linux - General 1 10-13-2002 09:41 AM
Get Zone files from DNS? mig Linux - General 0 02-28-2002 03:03 AM
Bind Zone files cbutler Linux - Networking 0 01-08-2002 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration