Using a different domain name as the DNS server for a domain
SamanKaya at netscape.net
Tue Dec 1 17:11:36 UTC 2009
I'm wondering if it's possible in Bind like my domain providers DNS
servers to use a different domain as the name server ns record for
Excuse the horrific explanation I will try to describe what I mean:
I am about to start hosting a domain called birimgrup.com in my network
but do not wish to create a sub domain as ns.birimgrup.com;
instead I would like to use my own domain which is called
optiplex-networks.com as the ns server, meaning ns1.optiplex-networks.com:
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> optiplex-networks.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48891
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;optiplex-networks.com. IN A
;; ANSWER SECTION:
optiplex-networks.com. 86400 IN A 192.168.1.150
;; AUTHORITY SECTION:
optiplex-networks.com. 86400 IN NS ns1.optiplex-networks.com.
optiplex-networks.com. 86400 IN NS ns2.optiplex-networks.com.
;; ADDITIONAL SECTION:
ns1.optiplex-networks.com. 86400 IN A 192.168.1.100
ns2.optiplex-networks.com. 86400 IN A 192.168.1.101
;; Query time: 21 msec
;; SERVER: 192.168.1.100#53(192.168.1.100)
;; WHEN: Tue Dec 1 19:03:00 2009
;; MSG SIZE rcvd: 123
So practically when someone does a dig for birimgrup.com it will come
out of ns1.optiplex-networks.com!!
Can this be done?
I am assuming that I could create a zone with record:
birimgrup in a ns1.optiplex-networks.com
but I am just wondering if it will complain that the data is "out of zone"??
As a quick addition also I have never dealt with .net .org etc TLD's
before when setting up DNS so I'm assuming that for reverse DNS the PTR
records will simply go into the 192.168.1.rev file I have setup??
Many thanks in advance!
More information about the bind-users