[opensuse] dns too slow?
Hi all, Having some troubles with dns. Sometimes when sending mail it is not possible to resolve the addressee's domain. When checking manualy with dig, the domain will be shown. I have been checking this, when trying another domain (from which I am quite sure it will not be cached) I can see that the MX record is not resolved by the local server. When checking again, it gives the right answer. Could this be some time-out that is set too short, and is there a way to make it wait a little longer, or check the second nameserver in resolv.conf (which is the one from the ISP) before the time-out? Config as follows: - openSUSE 11.2 does routing, firewall, and named. - openSUSE 11.1 does mail, and checks the nameserver on 11.2. -- L. de Braal BraHa Systems NL - Terneuzen T +31 115 649333 F +31 115 649444 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Feb 26, 2010 at 2:48 AM, Leen de Braal
Hi all,
Having some troubles with dns. Sometimes when sending mail it is not possible to resolve the addressee's domain. When checking manualy with dig, the domain will be shown. I have been checking this, when trying another domain (from which I am quite sure it will not be cached) I can see that the MX record is not resolved by the local server. When checking again, it gives the right answer. Could this be some time-out that is set too short, and is there a way to make it wait a little longer, or check the second nameserver in resolv.conf (which is the one from the ISP) before the time-out?
Config as follows: - openSUSE 11.2 does routing, firewall, and named. - openSUSE 11.1 does mail, and checks the nameserver on 11.2.
I have seen this happen, with DNS queries, when I fire up workstations (including the server hosting named) the first thing in the morning. I do boot the server first and when it comes online, I boot the workstations. The DLink DSL router chokes on too many simultaneous requests. I know this for sure because ping requests to external hosts (via IP numbers) also time out. Everything settles down after a couple of minutes though. I suggest you make sure that you do not have any network bottle necks, before suspecting your internal DNS server. You can use tcdump, wireshark etc. to monitor network traffic. HTH -- Arun Khan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2010-02-25 at 22:18 +0100, Leen de Braal wrote:
Having some troubles with dns. Sometimes when sending mail it is not possible to resolve the addressee's domain.
I wonder if this is part of the Bug 547658 https://bugzilla.novell.com/show_bug.cgi?id=547658 If it is add your name the list. -=terry=- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 25/02/10 18:18, Leen de Braal wrote:
- openSUSE 11.1 does mail, and checks the nameserver on 11.2.
Install package unscd from the buildservice, that should fix your problem in 11.1. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 25/02/10 18:18, Leen de Braal wrote:
- openSUSE 11.1 does mail, and checks the nameserver on 11.2.
Install package unscd from the buildservice, that should fix your problem in 11.1.
Do you think so? I think the problem is on 11.2. I did this: on the 11.2 server (is nameserver for the rest of the network) manually digging MX for google.com gives nothing (after a restart of named). A second request 7 seconds later gives me the MX records: ======================= server01:/etc # rcnamed restart Shutting down name server BIND waiting for named to shut down (28s) done Starting name server BIND done server01:/etc # dig google.com MX ; <<>> DiG 9.6.1-P3 <<>> google.com MX ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57644 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;google.com. IN MX ;; Query time: 2 msec ;; SERVER: 192.168.1.1#53(192.168.1.1) ;; WHEN: Fri Feb 26 22:48:16 2010 ;; MSG SIZE rcvd: 28 server01:/etc # dig google.com MX ; <<>> DiG 9.6.1-P3 <<>> google.com MX ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3305 ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;google.com. IN MX ;; ANSWER SECTION: google.com. 107 IN MX 200 google.com.s9a2.psmtp.com. google.com. 107 IN MX 300 google.com.s9b1.psmtp.com. google.com. 107 IN MX 400 google.com.s9b2.psmtp.com. google.com. 107 IN MX 100 google.com.s9a1.psmtp.com. ;; Query time: 22 msec ;; SERVER: 192.168.1.1#53(192.168.1.1) ;; WHEN: Fri Feb 26 22:48:23 2010 ;; MSG SIZE rcvd: 162 server01:/etc # =============================================== I see in YaST that unscd is installed on the 11.2 server, but I do not see a process. Neither is there a man-page for unscd. Does it need some configuration?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- L. de Braal BraHa Systems NL - Terneuzen T +31 115 649333 F +31 115 649444 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Arun Khan
-
Cristian Rodríguez
-
Leen de Braal
-
Teruel de Campo MD