Using a different domain name as the DNS server for a domain

Kaya Saman SamanKaya at
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 
another domain??

Excuse the horrific explanation I will try to describe what I mean:

I am about to start hosting a domain called in my network 
but do not wish to create a sub domain as;

instead I would like to use my own domain which is called as the ns server, meaning

as example:


; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>>
;; 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

;        IN    A

;; ANSWER SECTION:    86400    IN    A

;; AUTHORITY SECTION:    86400    IN    NS    86400    IN    NS

;; ADDITIONAL SECTION: 86400 IN    A 86400 IN    A

;; Query time: 21 msec
;; WHEN: Tue Dec  1 19:03:00 2009
;; MSG SIZE  rcvd: 123

So practically when someone does a dig for it will come 
out of!!

Can this be done?

I am assuming that I could create a zone with record:

birimgrup  in  a

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 mailing list