forward unknown query
Barry Finkel
b19141 at achilles.ctd.anl.gov
Fri Oct 31 14:34:42 UTC 2003
arnold7979 at hotmail.com (Junior Arnold) wrote:
>Sorry if this question has been asked (and answered) before but i've
>been googling for sometime with no luck:
>
>Here comes my ques:
>
>I have foobar.com hosted somewhere else with www.foobar.com = 1.2.3.4
>and mail.foobar.com = 5.6.7.8.
>
>I have a LAN with 20 PC and i want to do local (internal) DNS where
>every PC has a name (pc1.foobar.com = 192.168.0.100, pc2.foobar.com =
>192.168.0.101). Hence, I created a master zone called foobar.com.
>
>Now, how do i forward unknown queries such as www.foobar.com or
>mail.foobar.com to my hosting service provider's DNS (or perhaps any
>internet'able DNS such as my ISP's one)?
If you have a DNS server that is the master for
foobar.com
Then one of three things must be true:
1) You have an "A" record in your zone for
www.foobar.com
2) You have a subdomain
www.foobar.com
of your primary domain
foobar.com
and that subdomain is either a zone mastered on your server or
mastered on someone else's server.
3) There is no such machine
www.foobar.com
and thus there is no record in DNS for that name.
Summary - for the zone foobar.com, ALL of the records must be in your
master zone or be in a delegated sub-domain zone. If neither the master
zone or the delegated sub-domain zone contain any records for
www.foobar.com
then that nodename does not exist in DNS. You are authoritative for
the information in foobar.com, and if the info is not in your DNS,
nothing is going to make it look in some other zone on some other
server.
----------------------------------------------------------------------
Barry S. Finkel
Computing and Instrumentation Solutions Division
Argonne National Laboratory Phone: +1 (630) 252-7277
9700 South Cass Avenue Facsimile:+1 (630) 252-4601
Building 222, Room D209 Internet: BSFinkel at anl.gov
Argonne, IL 60439-4828 IBMMAIL: I1004994
More information about the bind-users
mailing list