
11th June 2012, 11:15
|
|
Member
|
|
Join Date: Sep 2011
Posts: 47
Thanks: 10
Thanked 0 Times in 0 Posts
|
|
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)
|

11th June 2012, 16:57
|
|
Member
|
|
Join Date: Sep 2011
Posts: 47
Thanks: 10
Thanked 0 Times in 0 Posts
|
|
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
|

13th June 2012, 14:00
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Quote:
Originally Posted by cpq
named.conf:
nameserver 192.168.1.121
nameserver 192.168.1.122
nameserver 192.168.1.1 (gateway with 4 External DNS serevrs)
|
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?
|

13th June 2012, 14:03
|
|
Member
|
|
Join Date: Sep 2011
Posts: 47
Thanks: 10
Thanked 0 Times in 0 Posts
|
|
Sory, yes resolve, my mistake... :-(
My named is emty...??!!
|

13th June 2012, 14:10
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
/etc/bind/named.conf?
|

13th June 2012, 14:15
|
|
Member
|
|
Join Date: Sep 2011
Posts: 47
Thanks: 10
Thanked 0 Times in 0 Posts
|
|
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";
~
|

14th June 2012, 16:27
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
That's fine - under Debian/Ubuntu, named.conf is located in /etc/bind, not /etc.
|

14th June 2012, 16:43
|
|
Member
|
|
Join Date: Sep 2011
Posts: 47
Thanks: 10
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
That's fine - under Debian/Ubuntu, named.conf is located in /etc/bind, not /etc.
|
Any ideas to what is wrong ?
|

15th June 2012, 12:50
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
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?
|

15th June 2012, 12:52
|
|
Member
|
|
Join Date: Sep 2011
Posts: 47
Thanks: 10
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
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
Last edited by cpq; 15th June 2012 at 12:54.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 20:10.
|
|
Recent comments
18 hours 49 min ago
23 hours 54 min ago
1 day 4 hours ago
1 day 6 hours ago
1 day 20 hours ago
1 day 20 hours ago
2 days 1 hour ago
2 days 8 hours ago
2 days 8 hours ago
2 days 10 hours ago