Yes the line works, have done som updates and upgrate commands. named.conf: nameserver 192.168.1.121 nameserver 192.168.1.122 nameserver 192.168.1.1 (gateway with 4 External DNS serevrs)
I think this gives som thing to work with: When i run: dig @ns1.XXX.dk any mydomain.dk I get: 1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 5803 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;mydomain.dk. IN ANY
I hope you mean resolv.conf, not named.conf. Can you try 8.8.8.8 (Google nameserver) as the first nameserver in /etc/resolv.conf?
No in /ect/named.conf in /etc/bind/named.conf is: // If you are just adding zones, please do that in /etc/bind/named.conf.local include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.local"; include "/etc/bind/named.conf.default-zones"; ~
Does Code: dig @localhost any mydomain.dk work? Is the mydomain.dk zone listed in /etc/bind/named.conf.local? If so, what's in the /etc/bind/named.conf.local zone file?
root@ns1:~# dig @localhost any mydomain.dk ; <<>> DiG 9.7.3 <<>> @localhost any mydomain.dk ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 17900 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;mydomain.dk. IN ANY ;; Query time: 165 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 15 12:50:04 2012 ;; MSG SIZE rcvd: 25
sorry, i did not se that about google name server... i get: root@ns1:~# dig @ns1.XXX.dk any YYY.dk ; <<>> DiG 9.7.3 <<>> @ns1.XXX.dk any YYY.dk ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 15933 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;YYY.dk. IN ANY ;; Query time: 0 msec ;; SERVER: 192.168.1.121#53(192.168.1.121) ;; WHEN: Sat Jun 16 15:08:07 2012 ;; MSG SIZE rcvd: 26 root@ns1:~# Would it be easier is i mailed you the real output, with the real host names?
Is the mydomain.dk zone listed in /etc/bind/named.conf.local? If so, what's in the /etc/bind/named.conf.local zone file?
This morning the server wass running sloooooooooooooooov agen, took about 8-12 sek. to get some responce from a site, when that site wass loadtet then i wass sure the other sites would run normal but no they all wass just as slow as the first, when i restartet apache then everything runs neet...??? Any ideas?
I suggest you install munin to find out what's going on: http://www.howtoforge.com/server-monitoring-with-munin-and-monit-on-debian-squeeze
This is what wass wrong with my name server in case there is other with the same proble. in /etc/bind/pri.domain.dk i hade to put in a "." after .dk without the qoutes, like this: ns1.domain.dk. 86400 A 10.10.1.1 (public IP) ns2.domain.dk. 86400 A 10.10.1.2 (public IP)