LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-24-2007, 08:30 AM   #1
ddzc
Member
 
Registered: Oct 2003
Location: T.O
Distribution: SunOS 10
Posts: 97

Rep: Reputation: 15
DNS Zone Records - MX Records


Hello all,

Is this the correct formation on how to add MX record to a dns zone file.


;linuxquestions.org. IN MX 10 mail.linuxquestions.org.


Thanks
 
Old 05-24-2007, 10:22 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
Code:
@              IN MX   10      mail
Code:
mail           IN A    64.179.4.148

------------

hope this right for mail.linuxquestions.org/zone file
 
Old 05-24-2007, 10:52 AM   #3
FMC
Member
 
Registered: May 2007
Location: São Paulo
Distribution: Gentoo & Debian
Posts: 97

Rep: Reputation: 15
Do not setup your MX record to an IP address, change if for a hostname.

Take a look at http://www.dnsstuff.com/ to be sure you setted up everything correctly!

[]´s, FMC!
 
Old 05-24-2007, 11:02 AM   #4
ddzc
Member
 
Registered: Oct 2003
Location: T.O
Distribution: SunOS 10
Posts: 97

Original Poster
Rep: Reputation: 15
thanks

i'm concerned about this part ;linuxquestions.org.

Is the ; normal before the hostname along with the perod after org?

thanks
 
Old 05-24-2007, 11:06 AM   #5
FMC
Member
 
Registered: May 2007
Location: São Paulo
Distribution: Gentoo & Debian
Posts: 97

Rep: Reputation: 15
Quote:
Originally Posted by ddzc
thanks

i'm concerned about this part ;linuxquestions.org.

Is the ; normal before the hostname along with the perod after org?

thanks
A line starting with ";" is a comment in bind.

The "." after "linuxquestion.org" is correct. When you put an IP address you do not put the dot, but with a hostname you have to put the dot!

[]´s, FMC!
 
Old 05-24-2007, 11:39 AM   #6
ddzc
Member
 
Registered: Oct 2003
Location: T.O
Distribution: SunOS 10
Posts: 97

Original Poster
Rep: Reputation: 15
what do you mean by a comment in bind
 
Old 05-24-2007, 12:42 PM   #7
FMC
Member
 
Registered: May 2007
Location: São Paulo
Distribution: Gentoo & Debian
Posts: 97

Rep: Reputation: 15
Quote:
Originally Posted by ddzc
what do you mean by a comment in bind
A line that is commented, ignored by bind when it reads the file.

Sorry, my english is terrible!

[]´s, FMC!
 
Old 05-24-2007, 12:55 PM   #8
ddzc
Member
 
Registered: Oct 2003
Location: T.O
Distribution: SunOS 10
Posts: 97

Original Poster
Rep: Reputation: 15
Thats what I thought at first, thank you.

If I want to enable that line, do I just remove the ; or do I have to remove the ; and insert the @ symbol?

Thanks
 
Old 05-24-2007, 01:26 PM   #9
FMC
Member
 
Registered: May 2007
Location: São Paulo
Distribution: Gentoo & Debian
Posts: 97

Rep: Reputation: 15
Quote:
Originally Posted by ddzc
Thats what I thought at first, thank you.

If I want to enable that line, do I just remove the ; or do I have to remove the ; and insert the @ symbol?

Thanks
Just remove the ";" and reload zones (usualy: /etc/init.d/bind reload)

[]´s, FMC!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 - Bind 9 on SUSE 9 loses zone records on startup dula Linux - Server 1 12-03-2006 10:15 PM
Configure DNS zone file for MX records outside of domain cowanrl Linux - Networking 2 10-30-2006 07:23 AM
Is is possible to pull down all DNS zone records? rsmccain Linux - Networking 4 10-04-2006 02:59 PM
DNS and MX Records... jademan83 Linux - Networking 1 07-09-2005 11:02 AM
Old DNS records Matir Linux - Networking 2 02-11-2005 12:44 PM


All times are GMT -5. The time now is 06:57 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration