DNS server setup and start problem

Asked by VINCENT

Hi guys i have been trying to setup up a DNS server but i keep getting errors with starting the bind9 process. this is the error i get when i restart or start,

Starting domain name service... bind9 [fail]

could someone help me out please. Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
VINCENT
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Have you checked the bind log somewhere in /var/log?

Revision history for this message
VINCENT (sircenty) said :
#2

After a while I realized there were some files that were not being purged, so they caused errors during re-installation and restarting.
I solved by:

# apt-get purge bind9
# rm -Rf /var/cache/bind
# rm -Rf /etc/bind/
# apt-get install bind9 bind9-doc dnsutils