Can't work BIND out (shoot me please)

For the love of god I can’t work BIND out even after reading loads about it…

All I am trying to do is use my own nameservers so I can get rid of cloudflare

I tryed to follow this small tut here

But I can’t add a second namesever

is this right? am I even on the right page?

Is there a tut for someone who has never used Bind before?

At the minute I am using cloudflare nameservers the plan was to use my own

I have to register these I belive
Do I point them to my servers IP?

Many thanks

Sorry, I’m out of bullets at the moment. :wink:

You probably have to register the IPs of your nameservers at your NIC (network information center) so you can use them. At the NIC, you have to enter and as authoritative nameservers.

The easiest way to configure a master and slave nameserver with Virtualmin is using Webmin’s DNS Cluster Slave feature. Do you have Webmin on the slave server? If not, you need to enter in the “Additional manually configured nameserves” box, and create all zones manually on the slave.

If you’ve never used BIND before, you’re in for a somewhat rough ride at first. :wink:

Hey Locutus, I think Ive registered them with namecheap if thats the right place (where my domains are from)

I do have webmin (i use the virtualmin script to install everything
What do you mean slave server? I only have the one server is this a bad idea? (I can’t efford one more lol

this is what I have so far

Cheers for the reply!

Hey drunkard! :wink:

Your setup at Namecheap looks okay, as does your Virtualmin template.

A “slave server” is a secondary (backup) nameserver that pulls zone information from a master to create a duplicate.

The idea is to have at least two nameservers for every zone, for redundancy purposes. Using the same IP for two nameserver host names usually does work from a technical point, but is not really recommended.

Also, some NICs, e.g. DENIC, require you to actually have two different IP addresses in separate /24 networks to register a domain. Using the same IP twice is not possible there. So you need to try it out if it works in your concrete case.

When your setup is complete, good ways to debug possible DNS problems are the website “” and the command “dig +trace”.

Haha, hmm how would I get a slave than for my other name server :frowning:

my host offers extra IP’s at a very low cost would one of them help out?

yea I have been using intodns

this is my test domain nothing works on it like lol and its pulling in alot of errors about dns too

Sorry again am mega new to this and tbh have no idea what I am trying to do lol


An extra IP would help out, yes, if it is in a different /24 subnet. It would still defeat the “two separate servers per zone” scheme though, but many people are actually doing that.

Otherwise, if you ask nicely, I can offer you to use my secondary nameserver as slave for your domain. :slight_smile: I have multiple servers in different nets available.

As for the intodns check: It seems your server is not responding to DNS queries.

Is the correct IP? Is BIND running and listening on UDP port 53 for all interfaces? Type netstat -upln | grep :53 to find out. Is any firewall blocking port 53?

The IP is reachable via traceroute.

[code] Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev

  1. 0.0% 36 0.2 0.2 0.1 0.3 0.0
  2. 0.0% 36 0.9 1.9 0.8 5.0 1.2
  3. 0.0% 35 0.4 0.4 0.3 0.8 0.1
  4. 0.0% 35 6.1 6.1 5.9 7.7 0.3
  5. ???
  6. 0.0% 35 15.2 15.2 14.6 16.1 0.4
  7. 0.0% 35 148.8 23.4 14.2 148.8 29.4
  8. 0.0% 35 14.3 14.9 14.3 17.5 0.5[/code]

I belive there on the same subnet :frowning:

Really ? that would be great if it fixes this problem :smiley: I’ll send you a beer ^^

(how many server do you have than? :D)

I ran that command and got this Locutus

~# netstat -upln | grep :53 udp 0 0* 6090/named udp6 0 0 ::1:53 :::* 6090/named


Beer sounds good! :smiley: Or maybe we can make an arrangement, like 1 EUR per month via Paypal for service and support. :slight_smile:

I myself have two physical servers with VMware ESXi as virtualization host (each running about 10 virtual machines), plus two VMs on colleagues’ servers.

Your netstat result seems to indicate that your BIND is listening on localhost only. Netstat should show something like this:

udp 0 0* 1075/named udp 0 0* 1075/named

You might want to check Webmin’s BIND module and configure your external IP (and localhost) in “Addresses and Topology / Ports and addresses to listen on”.

Sounds good :smiley:

ive changed it to this

does that look right to you?


Edit = I guess it’s not as Bind will not start

Failed to re-start service : Failed to start BIND : Unknown error

You might want to check the syslog, BIND will quite probably have recorded errors there.

Hmm, how would you feel about giving me a login to your shell and Webmin, then I could take a look at it myself. :slight_smile: Might be faster. Do you use an instant messenger?

Sorry for been even more dumber but where is the log file located :confused:

edit ive found it (in the same place as all the logs )

here it is

I use msn only

MSN is “Windows Live”, right? You can message me at “”.

Yea it is ha, I still call it msn from many years ago >.>

Anyway ive added you