Server can not resolve Domain

haidao haidao at online.de
Wed Feb 20 20:48:15 UTC 2019


Greetings,
we use a own nameserver on our System. I have install bind9 now ,and
configure the zone files. At our Provider I have change the nameserver
to our System. But the Server can not resolve the name. I have
search a lot of time,but I can not see the problem.
I have the following Setup:
Forward Zone:
;; db.domainname
;; Forwardlookupzone für domainname
;;
$TTL 2D
@ IN SOA my.domain. mail.my.domain. (
2006032222 ; Serial
8H ; Refresh
2H ; Retry
4W ; Expire
3H ) ; NX (TTL Negativ Cache)

@ IN NS my.domain.
@ IN NS sns.serverkompetenz.de.
IN MX 10 mail.my.domain.
@ IN A 81.169.255.130
www IN A 81.169.255.130
my.domain. IN A 81.169.255.130
mail IN A 81.169.255.130
localhost IN A 127.0.0.1

smtp IN CNAME www
imap IN CNAME www


@ IN TXT "v=spf1 mx -all"

Reverse Zone:
;; db.255.169.81
;; Reverselookupzone für domainname
;;
$TTL 2D
;$ORIGIN 255.169.81.IN-ADDR.ARPA.
@ IN SOA my.domain. mail.my.domain. (
2006032222 ; Serial
8H ; Refresh
2H ; Retry
4W ; Expire
2D ) ; TTL Negative Cache

IN NS my.domain.
IN NS sns.serverkompetenz.de.
@ IN MX 10 mail.my.domain.
130 IN PTR my.domain.




I have check the Zones with
root at mail:/etc/bind# named-checkzone 255.169.81.in-addr.arpa
/etc/bind/db.255.169.81
zone 255.169.81.in-addr.arpa/IN: loaded serial 2006032222
OK

root at mail:/etc/bind# named-checkzone -i full my.domain
/etc/bind/db.my.domain
zone my.domain/IN: loaded serial 2006032222
OK

And dig @localhost my.domain:

; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45181
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;my.domain. IN A

;; ANSWER SECTION:
my.domain. 172800 IN A 81.169.255.130

;; AUTHORITY SECTION:
my.domain. 172800 IN NS sns.serverkompetenz.de.
my.domain. 172800 IN NS my.domain.

;; Query time: 0 msec
;; SERVER: ::1#53(::1)
;; WHEN: Tue Feb 19 17:44:43 CET 2019
;; MSG SIZE rcvd: 108

>From my PC:
dig my.domain
; <<>> DiG 9.11.3-1ubuntu1.3-Ubuntu <<>> my.domain
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19629
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;my.domain. IN A

;; Query time: 18 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Tue Feb 19 22:17:28 CET 2019

;; MSG SIZE rcvd: 42

in /var/log/syslog:

Feb 20 21:40:16 mail named[4833]: automatic empty zone:
8.B.D.0.1.0.0.2.IP6.ARPA
Feb 20 21:40:16 mail named[4833]: automatic empty zone: EMPTY.AS112.ARPA
Feb 20 21:40:16 mail named[4833]: configuring command channel from
'/etc/bind/rndc.key'
Feb 20 21:40:16 mail named[4833]: configuring command channel from
'/etc/bind/rndc.key'
Feb 20 21:40:16 mail named[4833]: reloading configuration succeeded
Feb 20 21:40:16 mail named[4833]: reloading zones succeeded
Feb 20 21:40:16 mail named[4833]: all zones loaded
Feb 20 21:40:16 mail named[4833]: running


Can someone tell me if I a problem in my Configuration? I have no mere Idea
at present.


Kindly Regards

Wolfgang









--
Sent from: http://bind-users-forum.2342410.n4.nabble.com/


More information about the bind-users mailing list