Re: send NXDOMAIN to ISP DNS server?

This is a discussion on Re: send NXDOMAIN to ISP DNS server? within the Bind Users forums, part of the DNS and Related Forums category; In article <cbsd76$2cpl$1@sf1.isc.org>, "187" <bigal187.invalid@adexec.com> wrote: &...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-29-2004
Barry Margolin
 
Posts: n/a
Default Re: send NXDOMAIN to ISP DNS server?

In article <cbsd76$2cpl$1@sf1.isc.org>,
"187" <bigal187.invalid@adexec.com> wrote:

> Hello. I have a LAN with a DNS server to keep track of the lan
> computer's names (
> h1.home.net 192.168.0.1,
> h2.home.net 192.168.0.2,
> ...
> that sorta thing.)
>
> I have a very simple setup:
>
> options {
> directory "/etc";
> pid-file "/var/run/named/named.pid";
> };
>
>
> zone "." {
> type master;
> file "/etc/LAN.hosts";
> };
>
>
> zone "0.168.192.in-addr.arpa" {
> type master;
> file "/etc/LAN.rhosts";
> };
>
> How can I have any random NXDOMAIN (non existant) domain, i.e.
> yahoo.com, be passed on to the isp's dns server to resolve the millions
> of domain names my local dns server could not possibly know about.


Why do you need to use your ISP's DNS server?

> Right if I go through nslookup I cna only resolve local names and ip's
> using the lan dns server.


Replace the root master zone with the standard root hints zone:

zone "." {
type hints;
file "named.root";
};

Put the LAN hosts in a private zone:

zone "home.local" {
type master;
file "LAN.hosts";
};

BTW, I recommend putting relative pathnames in the "file" statements,
not absolute paths; that way, if you decide to move them, you only have
to change the "directory" line in the options.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:51 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0