Cant get bind to cooperate
Cant get bind to cooperate
Okay guys im new to the field and I am trying my best to get things sorted. I am having a problem with Bind9. I have testing bind both before and after install. Before install bind works as it should when running a dig. But after installing vesta and adding a domain, it is in the bind configs but it will not resolve. Running a dig command shows an empty A record. Here is the output from dig.
root@dev:/etc# dig @localhost teamdfk.com
; <<>> DiG 9.9.5-3ubuntu0.7-Ubuntu <<>> @localhost teamdfk.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 42293
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;teamdfk.com. IN A
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Feb 03 00:45:26 EST 2016
;; MSG SIZE rcvd: 40
When vesta is not installed and it is just a fresh bind9 install dig works correctly. With Vesta installed I get a serverfail warning and an empty A record. Help!
root@dev:/etc# dig @localhost teamdfk.com
; <<>> DiG 9.9.5-3ubuntu0.7-Ubuntu <<>> @localhost teamdfk.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 42293
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;teamdfk.com. IN A
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Feb 03 00:45:26 EST 2016
;; MSG SIZE rcvd: 40
When vesta is not installed and it is just a fresh bind9 install dig works correctly. With Vesta installed I get a serverfail warning and an empty A record. Help!
Re: Cant get bind to cooperate
I have tried that but when I try to follow the steps i get AppArmor parser error for /etc/apparmor.d/usr.sbin.named in /etc/apparmor.d/usr.sbin.named at line 53: syntax error, unexpected TOK_CLOSE, expecting TOK_MODE
I have no clue. I tried running with apparmor disabled and still nothing.
I have no clue. I tried running with apparmor disabled and still nothing.
Re: Cant get bind to cooperate
Nevermind I had a derp and forgot the rm, Thank you so much!