≡ Menu

How do I use my Bind name server with my domain name?

Question – I have a few domain names registered with GoDaddy and eNom. I want to use my own name server running Bind for these domain names. How do I let my registrar know that I want to use my own name servers running Bind?

To setup your own name server, you need to register your name server with your domain name registrar. Otherwise, the registrar will now allow you to change your name server for your domain names.

First, test whether your name server is working and configured fine:

dig @nameserverIPAddress yourdomain.com A

For example, my name server IP address is I will try to query this name server for the domain name ewhathow.com:

ewhathow@ewhathow.com [~]# dig @ ewhathow.com A

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.6 <<>> @ ewhathow.com A
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56995
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;ewhathow.com.                  IN      A

ewhathow.com.           14400   IN      A

ewhathow.com.           86400   IN      NS      ns2.solvedns.com.
ewhathow.com.           86400   IN      NS      ns1.solvedns.com.

ns1.solvedns.com.       14400   IN      A
ns2.solvedns.com.       14400   IN      A

;; Query time: 0 msec
;; WHEN: Sun Sep 22 04:51:17 2013
;; MSG SIZE  rcvd: 123

ewhathow@ewhathow.com [~]#

So I got an answer! This means that your zones are setup correctly on your Bind configuration files.

Now you need to register your name server. Different registrars have different methods of doing this. But if your name server is ns1.yourdomain.com, you need to register your name server where you registered yourdomain.com.

{ 0 comments… add one }

Leave a Comment