LinuxQuestions.org
Review your favorite Linux distribution.
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 07-12-2008, 09:55 PM   #1
foramgoram
LQ Newbie
 
Registered: Jun 2008
Posts: 9

Rep: Reputation: 0
Red face DNS MX record problem


I have problem setting my DNS mx record. Below is my zone file

$TTL 86400
@ IN SOA abc.com. root.abc.com. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

IN NS mail1.abc.com.
localhost IN A 127.0.0.1
mail1 IN A 10.1.1.9
mail2 IN A 10.1.1.10
IN MX 10 mail1.abc.com.
www IN CNAME mail1.abc.com.
ftp IN CNAME mail2.abc.com.


This is the result of dig
[root@mail1 named]# dig @localhost -t mx abc.com

; <<>> DiG 9.3.4-P1 <<>> @localhost -t mx abc.com
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28103
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;abc.com. IN MX

;; AUTHORITY SECTION:
abc.com. 86400 IN SOA abc.com. root.abc.com. 42 10800 900 604800 86400

;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Jul 12 21:16:56 2008
;; MSG SIZE rcvd: 71


What am I doing wrong? Please help
 
Old 07-12-2008, 10:01 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
put this right above the line IN NS mail1...
Code:
$ORIGIN abc.com.
 
Old 07-12-2008, 10:55 PM   #3
uniz
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Rep: Reputation: 0
Owner of a RR

If you leave out owner of a RR it's inherited from previous RR. Owner of your MX is mail2. Correct this like abc.com. MX 10 mail1
or move the MX just below the NS.
 
  


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
Reverse DNS: Why is the record on the datacenter DNS server instead? Swakoo Linux - Networking 2 09-20-2007 04:42 AM
DNS problem and MX record unkn0wn Linux - Networking 2 09-10-2007 06:53 PM
problem with one dns reverse zone record rsmccain Linux - Networking 2 10-07-2006 08:17 AM
Problem in update The DNS Server Record Dynamically javabb Linux - Newbie 1 01-05-2005 02:58 PM
Problem in Update The DNS Server Record Dynamicaly javabb Linux - Networking 0 01-05-2005 04:49 AM

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

All times are GMT -5. The time now is 07:26 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