BIND9 and pop mail problems
Hi Guys,
I have just installed a local DNS Server. Everything works fine but now I cannot receive pop mail anymore from my ISP. I guessed that was due to my DNS server but I cannot fixe the problem. I have enclosed below my DNS configuration files. The only I have done is a forwarder as I have attached to my network a router. I did try a forwarder with my ISP's DNS but that didnt work at all. Any help I could get here is very much appreciated because I am really stuck. Finally, I have another email account that works fine on the same network. That account is not from my ISP but it is a Mac.com account. It is a pop mail account but to get my emails, i use mail.mac.com and not pop.mac.com. Is it why that one is working and not the one from my isps which uses pop.orange.fr ?? Plus, my google account which uses pop.google.com doesn't work anymore as well. Again, thank you all for your help Here is my db.macitos.fr file $TTL 604801 @ IN SOA margoullat.macitos.fr. leonidas.margoullat.fr ( 20041122 ; 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Minimum NS margoullat.macitos.fr ; Name of server margoullat A 192.168.1.7 ; IP address of the name server margoullat HINFO "AMD64 " "Debian etch" ; iguane A 192.168.1.8 margoullat A 192.168.1.6 margoullat A 192.168.1.7 zongo A 192.168.1.5 heaven A 192.168.1.10 perso CNAME zongo ig CNAME iguane mar CNAME margoullat mac CNAME heaven pop CNAME iguane smtp CNAME iguane Here is my named.conf.local zone "macitos.fr" { type master; file "/etc/bind/db.macitos.fr"; forwarders{}; }; zone "1.168.192.in-addr.arpa" { type master; file "/etc/bind/db.macitos.fr.inv"; forwarders{}; This is my named.conf.options file forwarders { 192.168.1.1; }; auth-nxdomain no; # conform to RFC1035 listen-on-v6 { any; }; |
what would make you think dns was at all related to this? never just guess...what is the hostname of your remote pop server? does it resolve? can you ping it? can't think why bind should be being pointed at first off.
|
There is nothing wrong on the public net with resolving either pop.orange.fr or pop.gmail.com -
Code:
jim@jimsworktop:~$ dig pop.orange.fr Code:
ns2:/home/jim# named-checkzone macitos.fr db.macitos.fr Code:
$TTL 7200 Code:
dig google.fr @A.B.C.D What I suspect has happened here is that your semi-corrupted zone was polluting all of your lookups. Change the zonefile, then restart BIND or do "rndc reload macitos.fr" if your BIND supports rndc. Also, take the forward to your router out. If it all works well, great. If not, take your macitos.fr zone out (just comment out the lines about macitos.fr in named.conf.local), and restart again. Then you are just a caching DNS. If that works, it confirms that the problem is within your zonefile. Write back if you need more help or want a more detailed explanation. Peace, JimBass |
HI JimBass,
Thank you so much for your response. I have followed step by step your advice but still have the same type of error as follow 1-When i run "named-checkzone" for db.macitos.fr and db.macitos.fr.inv I still get the error "Unknown RR type "margoullat.macitos.fr.". I did run the test with macitos.fr uncommented as well like you said and the error came back. 2-When I am trying to fecth email, eventhough I have change the config following your instructions, I still get the same error type Unable to connect to POP server pop.orange.fr. Error sending password: -ERR disconnect because could not connect to server. Please enter the POP password on host pop.orange.fr. Which I did but then i got "unable to connect to POP server pop.orange.fr. Error sending password: Operation is now undertaken. I have a feeling that the error on my DNS server or even just running as a Cache server is linked to my email client not being able to fetch my mail anymore. 3-Then I run the dig orange.fr@86.213.22.143; and you know what. i went through like no hassle at all. There, I am getting really confuse now 4-Then I decided to do a ping on pop.orange.fr 27 packets transmitted, 0received, 100% packet loss. 5-Then I went on doing a telnet on port 110 on pop.orange.fr and I went through no problem. Again, thank you so much for your help. Being a newbie on linux Debian is somtimes tough but worth it :) |
Don't sweat the inability to ping, most internet hosts don't allow pings. Some major ones do, like yahoo and google, but I also can't ping pop.orange.fr, although it resolves fine. Ping is a nearly worthless test over the internet. On a LAN it can work, but don't ever think it tells you anything valid about an internet host. Since you could telnet to the mail server, all is well from a DNS perspective.
Code:
jim@jimsworktop:~$ ping pop.orange.fr Peace, JimBass |
JimBass,
Just one quick thing. The error I got when i ran named-checkzone "unknown RR type 'margoullat.macitos.fr' zone macitos.fr/IN:loading master file /etc/bind/db.macitos.fr: unknown class/type. What is it?? Is it because it is only a local domain?? Isn't that error message linked to the fact that I cannot get my emails anymore?? Cheers JimBass |
I doubt it. That is complaining that you have a bad round-robin (multiple addresses for one name), and it looks like you do. You have 4 definitions for margoullat, 2 a repeat, and I don't know what that HINFO line is. I've never seen that, and would suspect it is causing the problem. Try trimming down the duplicate (you have margoullat A 192.168.1.7 twice, and get rid of the margoullat HINFO line).
Also, those should have nothing to do with your inability to reach external sites. You can resolve pop.orange.fr, then it isn;t a DNS problem, it is something else. Peace, JimBass |
All times are GMT -5. The time now is 05:12 PM. |