Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section DNS Server
  • Search

Cant get bind to cooperate

Questions regarding the DNS Server
BIND
Locked
  • Print view
Advanced search
5 posts • Page 1 of 1
ellercom
Posts: 3
Joined: Wed Feb 03, 2016 5:39 am

Cant get bind to cooperate

Post by ellercom » Wed Feb 03, 2016 5:49 am

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!
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Cant get bind to cooperate

Post by skurudo » Wed Feb 03, 2016 9:25 am

Try this:
viewtopic.php?f=13&t=10455#p38782
Top

ellercom
Posts: 3
Joined: Wed Feb 03, 2016 5:39 am

Re: Cant get bind to cooperate

Post by ellercom » Thu Feb 04, 2016 1:28 am

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.
Top

ellercom
Posts: 3
Joined: Wed Feb 03, 2016 5:39 am

Re: Cant get bind to cooperate

Post by ellercom » Thu Feb 04, 2016 1:37 am

Nevermind I had a derp and forgot the rm, Thank you so much!
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Cant get bind to cooperate

Post by skurudo » Sat Feb 06, 2016 7:53 pm

Ok )
Top


Locked
  • Print view

5 posts • Page 1 of 1

Return to “DNS Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password