Visit Our UNIX and Linux User Community


Crazy mx record redirect


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Crazy mx record redirect
# 1  
Old 12-13-2007
Crazy mx record redirect

So here is the story i have hired an outside company to filter spam i have since changed the mx record on my server and i have locked down the firewall. Spam has stopped totally which is great however my mx record seem to be propagating back and forth between my old and my new one day it will be one the next the other. Almost as if there are two SOA's fighting over what it should be. Which we all know is a big problem cause one day there will be mail the next none lol. The following is my zone file in my named directory. All the names and numbers are changed.

File name xyz.org.zone


$TTL 18000
xyz.org. SOA 200.100.150.10. admin.xyz.org. (
2006022739 ; seri$
3h ; refresh
1h ; retry
1w ; expiry
1h ) ; minimum
xyz.org. IN NS ns1.xyz.org.
xyz.org. IN NS ns2.xyz.org.
xyz.org. IN MX 0 xyz.org.inbound10.mxlogic.net.
xyz.org. IN MX 0 xyz.org.inbound10.mxlogicmx.net.
xyz.org. IN A 200.100.150.10
ns1.xyz.org. IN A 200.100.150.10
ns2.xyz.org. IN A 200.100.150.10
mail.xyz.org. IN A 200.100.150.10
www_xyz_org Celestial Voyager & Human Extinction Survival. IN A 200.100.150.10
calendar.xyz.org. IN A 200.100.150.10
webmail.xyz.org. IN A 200.100.150.10
powerschool.xyz.org. IN A 200.100.150.15
www.powerschool.xyz.org. IN A 200.100.150.15
ar.xyz.org. IN A 20.0.0.10
intranet.xyz.org. IN A 20.0.0.15
helpdesk.xyz.org. IN A 200.100.150.10

any comments or help would be great
thanks
# 2  
Old 12-14-2007
OK, switching records back and forth means contradiction between zone files, either being exported to one named process, or to another name servers. Since the name servers haven't changed recently, means that something in the records of the current zone file had changed. Are you the only one with access ? Make sure that no one else made changes at this time.
use "dig" tool to troubleshoot this like :
Code:
dig @NS4.IASA-INTERNET.NET xyz.org any

which currently prints :
Quote:
; <<>> DiG 9.2.4 <<>> @NS4.IASA-INTERNET.NET xyz.org any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64900
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;xyz.org. IN ANY

;; ANSWER SECTION:
xyz.org. 15260 IN NS ns.ez2ba.com.
xyz.org. 15260 IN NS ns2.ez2ba.com.
xyz.org. 15260 IN MX 10 mail.xyz.org.

;; AUTHORITY SECTION:
xyz.org. 15260 IN NS ns.ez2ba.com.
xyz.org. 15260 IN NS ns2.ez2ba.com.

;; ADDITIONAL SECTION:
ns.ez2ba.com. 86400 IN A 64.176.60.89
ns2.ez2ba.com. 86400 IN A 64.176.61.75
mail.xyz.org. 22961 IN A 64.176.52.54

;; Query time: 417 msec
;; SERVER: 208.56.193.83#53(NS4.IASA-INTERNET.NET)
;; WHEN: Fri Dec 14 07:11:58 2007
;; MSG SIZE rcvd: 166
I've seen strange cases with bind, the last resort was restarting the bind daemon, this fixes some issues sometimes. Oh, you can flush the cache with "rndc flush" and see if it make any difference.
# 3  
Old 12-14-2007
ran the dig

LOL I guess its kinda funny cause I used xyz to hide my domain, it is not my domain name, I didn't realize when I used it that it was a real one. I ran the dig as you suggested and came back with these results. I also have changed my IP addresses for display purposes. The red IP address is the actual one hat was returned.

; <<>> DiG 9.3.4 <<>> @NS4.IASA-INTERNET.NET xyz.org any
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59460
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;xyz.org. IN ANY

;; ANSWER SECTION:
xyz.org. 0 IN SOA 200.100.150.10. admin.xyz.org. 2005091029 10800 3600 604800 3600
xyz.org. 86400 IN NS ns1.xyz.org.
xyz.org. 86400 IN NS ns2.xyz.org.
xyz.org. 86400 IN MX 0 mail.xyz.org.
xyz.org. 86400 IN A 200.100.150.10

;; AUTHORITY SECTION:
xyz.org. 86400 IN NS ns1.xyz.org.
xyz.org. 86400 IN NS ns2.xyz.org.

;; ADDITIONAL SECTION:
ns1.xyz.org. 86400 IN A 200.100.150.10
ns2.xyz.org. 86400 IN A 64.50.17.195
mail.xyz.org. 86400 IN A 200.100.150.10

;; Query time: 331 msec
;; SERVER: 208.56.193.83#53(208.56.193.83)
;; WHEN: Fri Dec 14 11:11:34 2007
;; MSG SIZE rcvd: 239

The record in red isn't the right one I don't want it to go there.
Also the IP address in red I have no idea who that belongs to or were it is. I think the red IP address is the one propagating 0.mail.xyz.org
If you think it would help to know the actual domain name let me know and we will figure something out.

Previous Thread | Next Thread
Test Your Knowledge in Computers #872
Difficulty: Medium
In computer science, self-modifying code is code that alters its own instructions while it is executing.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Crazy Syntax

Hello All, was looking at a script wrote by someone and when I try and run it in ksh it gives me an error. Could ksh version be a problem or is there something wrong that I'm missing, when I run it from the command line it works. Thanks! results=`sudo -u admin ssh... (1 Reply)
Discussion started by: akechnie
1 Replies

2. What is on Your Mind?

Here's To The Crazy One

Please excuse my indulgence. Thank you MG Siegler and Steve Jurvetson. But most importantly, thank you Steve Jobs. 8rwsuXHA7RA The world has lost a genius. (1 Reply)
Discussion started by: Scott
1 Replies

3. Programming

I'm going crazy with SQL select. Please help!

Hello people, as wrote in title I'm going crazy with a "complex" SQL select. This is the seelct: select T_ADDRESS, T_MCC,T_MNC,T_MSIN,T_IM_MNC, COUNT(*) FROM TABLETEST WHERE T_MCC=123 AND (T_MNC=11 OR T_MNC=01) GROUP BY T_ADDRESS,T_MCC,T_MNC,T_MSIN,T_IM_MNC HAVING count(*) > 5;This select... (7 Replies)
Discussion started by: Lord Spectre
7 Replies

4. Homework & Coursework Questions

Crazy Dots

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Create a script called DOTS that will display the horizontal or vertical number of dots if the first argument... (3 Replies)
Discussion started by: pchelpmtl
3 Replies

5. Shell Programming and Scripting

Finger has gone crazy

Two things : On the first place i am really desperate, on the second i am about to throw my laptop away to the recycle bin in a while. Ok now that i expressed my feeling let me describe you this mad situation. Code: print $1; ("finger -m " $1 "| head -1") | getline userinfo print... (6 Replies)
Discussion started by: beatblaster666
6 Replies

6. What is on Your Mind?

crazy dreams..

well, Wine is simply amazing.. I love it. the filesystems are great too -- never having to defragment, and not slowing down in time. I love the power of BASH. iptables.. but.. I had a vision. a crazy dream. what if, we could develop an installation system for Linux.. working pretty much... (3 Replies)
Discussion started by: ialoq
3 Replies

7. Shell Programming and Scripting

Pleas help..this is driving me crazy

Hi, I've created a script in csh that takes a file and checks it for mispelled words. Im almost done but I need to do two more things but I need help. First, when displaying an incorrect word to the user, I need to show the line of the input file that contains the word. Second,if the user... (0 Replies)
Discussion started by: hckygoli31
0 Replies

8. Shell Programming and Scripting

ftp going crazy

Dear Friends, I am having a crazy issue with ftp. I am doing 'mput' of 4 files (z1, z2, z3, z4) as below. But ftp transfers only every alternative file !! - ie; If I do mput z* for above, it sends only z1 and z3. Note that all the files are same and I tried this for several dummy files. All... (3 Replies)
Discussion started by: yoursdivu
3 Replies

9. Shell Programming and Scripting

going crazy with test???

oK, i know for sure that code = Y and var = N but no matter what this always prints ignore, never valid??????? if test "$code"="$var" ... (2 Replies)
Discussion started by: mich_elle00
2 Replies

10. UNIX for Dummies Questions & Answers

Oh no!! crazy script

Hi Could be stupid, but I can figure out... I have a script that downloads a file from a http server ( virus definitions file ). The thing is that when I run it from the console (bash) works fine, but when I put it in the root's cron it doesn't, and it generates a core file. example: ... (8 Replies)
Discussion started by: piltrafa
8 Replies

Featured Tech Videos