LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Urgent DNS Issue (https://www.linuxquestions.org/questions/linux-networking-3/urgent-dns-issue-864584/)

d072330 02-23-2011 12:47 PM

Urgent DNS Issue
 
I host my own DNS on my web server, never got around to getting second DNS host which is another story in itself LOL.

Yesterday I made some changes to a zone file for my personal website and added a site in apache2 (blog.example.com). I have since taken out the extra site and removed it from my DNS entries. The problem I have now is my domain just now came back today but now my mail which I run thru google is not sending or receiving.

Does this db file look correct to you guys and do you have any suggestions? Are the refresh, retry etc too short?

Note I just added the ns1/2.slicehost.net today to get my www.example.com site backup because ns1/2.example.com is not working and now another site I host is all jacked up as well, no mail, no website :(

Also when I use google's free tools to look up things I am getting this error in regards to my MX records.

Quote:

No MX records found. Please verify your domain name and try again.
Quote:

$TTL 1800
@ 86400 IN SOA ns1.slicehost.net. ns1.example.com. admin@example.com. (
2011022304 ; serial, todays date+todays
1800 ; refresh, seconds
1800 ; retry, seconds
1800 ; expire, seconds
1800 ) ; minimum, seconds

example.com. 1800 IN NS ns1.slicehost.net
example.com. 1800 IN NS ns2.slicehost.net
example.com. 1800 IN NS ns1.example.com.
example.com. 1800 IN NS ns2.example.com.

ns1.slicehost.net IN A 173.45.228.72
ns2.slicehost.net IN A 173.45.228.72
ns1.example.com. IN A 173.45.228.72
ns2.example.com. IN A 173.45.228.74
example.com. IN A 173.45.228.72
sftp IN A 173.45.228.72

localhost.example.com. IN A 127.0.0.1

example.com. IN MX 10 ASPMX.L.GOOGLE.COM.
example.com. IN MX 20 ALT1.ASPMX.L.GOOGLE.COM.
example.com. IN MX 20 ALT2.ASPMX.L.GOOGLE.COM.
example.com. IN MX 30 ASPMX2.GOOGLEMAIL.COM.
example.com. IN MX 30 ASPMX3.GOOGLEMAIL.COM.
example.com. IN MX 30 ASPMX4.GOOGLEMAIL.COM.
example.com. IN MX 30 ASPMX5.GOOGLEMAIL.COM.

mail IN CNAME ghs.google.com.
www IN CNAME example.com.

kbp 02-23-2011 04:25 PM

Try named-checkzone ... I don't think the hostmaster email address is supposed to have an '@' though

d072330 02-23-2011 05:05 PM

zone checked out ok must like the @ sign. I have narrowed it down to a propigation issue. I have a friend who has not ever gone to the website and he was able to hit it. I ran this command to see how much time I have left before it expires:

dig -t ns example.com

I have 22649 seconds (just over 6 hours) to go woot woot.

d072330 02-24-2011 11:36 AM

I fixed this issue this way.

There was an issue with the way my NS servers (ns1.example.com and ns2.example.com were propagating. So I added ns3.example.com and ns4.example.com and changed them on my server as well. Restarted bind and then deleted ns1/2 and it is working now.


All times are GMT -5. The time now is 06:38 AM.