Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

when i deployed DNS on ubuntu, i had to change the owner of the forward/reverse zone file to named

does this apply also in ubuntu? also, can you check these for me, ive been getting SERVFAIL

which is proper syntax for ubuntu? //CONFIG1 or //CONFIG2

FORWARD ZONE

$TTL 1D
@       IN SOA  test.ic. admin.test.ic. (
                                0       ; serial
                                1D      ; refresh
                                1H      ; retry
                                1W      ; expire
                                3H )    ; minimum

//CONFIG 1
@               IN NS           test.ic.
@               IN A            192.168.5.26
www             IN A            192.167.5.26

//CONFIG 2
;test.ic.                IN NS           dns.test.ic.
;webserver               IN A            192.168.5.26
;www                     IN CNAME        webserver

REVERSE ZONE

$TTL 1D

@       IN SOA  test.ic. test.ic. (
                                0       ; serial
                                1D      ; refresh
                                1H      ; retry
                                1W      ; expire
                                3H )    ; minimum

//CONFIG 1
@       IN      NS      dns.test.ic.
26      IN      PTR     www.test.ic.

//CONFIG 2
;       IN      NS      dns.test.ic.
;26     IN      PTR     www.test.ic.

NSLOOKUP

root@dns:/etc/bind/zones# nslookup test.ic
Server:     127.0.0.1
Address:            127.0.0.1#53

** server can't find test.ic.test.ic: SERVFAIL
share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.