Re: Debian 2.0. Bind 8 works but causes dials for local domain names FIXED
I have found the error in my config files which caused the dialups. I had
the NS line as
local. IN SOA gate hostmaster.local. (
1998070408
3600
900
1209600
43200 )
@ IN NS gate.
which should have read
local. IN SOA gate hostmaster.local. (
1998070408
3600
900
1209600
43200 )
@ IN NS gate.local.
having made this change there are now no dns lookups to the Internet for
local domains
Thanks to everyone who replied
Steve Ball
-----Original Message-----
From: Steve Ball <steve@sball.demon.co.uk>
To: debian-user@lists.debian.org <debian-user@lists.debian.org>
Date: 11 July 1998 14:20
Subject: Debian 2.0. Bind 8 works but causes dials for local domain names
>I have a working debian 2.0 installation providing Internet connectivity
>for a small network. I have BIND 8 working as a local DNS and am able to
>resolve names forwards and backwards for local host and for my local
>domain (.local). Invalid names and addresses within the local network
>are properly declared as unknown and there is no Internet DNS lookup.
>
>Requests for Internet addresses and names outside my domain are looked
>up on Internet DNS servers and correctly returned. Reverse lookups for
>addresses on my local domain are properly resolved and no Internet
>lookup is performed. Forward local dns lookups are returned correctly
>but there is a dns lookup on the internet that triggers a dialup, and
>any subsequent dns lookups also trigger internet lookups.
>
>If I prevent the internet dial then the dns lookups are still correctly
>returned. I don't know what the internet traffice is but it is from my
>machine on a non privilaged port (>1024) to a root dns server port 53.
>
>Can anyone help me to stop this unnecessary Internet traffic?, and the
>unwanted dials.
>
>Below are my DNS files
>
>Regards
>
>Steve Ball steve@sball.demon.co.uk
>
>==========
>named.conf
>==========
>// generated by named-bootconf.pl
>options {
> directory "/var/named";
> /*
> * If there is a firewall between you and nameservers you want
> * to talk to, you might need to uncomment the query-source
> * directive below. Previous versions of BIND always asked
> * questions using port 53, but BIND 8.1 uses an unprivileged
> * port by default.
> */
> // query-source address * port 53;
>};
>//
>// Boot file for name server
>//
>// type domain source file
>zone "." {
> type hint;
> file "named.root";
>};
>// Zone boot information and daemon options are kept in other files
>// (autoincluded from boot.zones)
>//
>// Name server zone boot file
>// See named(8) for syntax and further information
>//
>// type domain source file
>// (autoincluded from boot.options)
>//
>// Options for name server
>// Use `bindconfig' to automatically configure this file
>//
>// type domain source file
>zone "local" {
> type master;
> file "local";
> };
>};
>zone "127.in-addr.arpa" {
> type master;
> file "127";
>};
>// Custom configurations below (will be preserved)
>zone "2.1.10.in-addr.arpa" {
> type master;
> file "/var/named/10.1.2.rev";
> };
>================
>/var/named/local
>================
>local. IN SOA gate hostmaster.local. (
> 1998070408
> 3600
> 900
> 1209600
> 43200 )
>@ IN NS gate.
>www IN CNAME gate.local.
>gate.local. IN A 10.1.2.103
>steve.local. IN A 10.1.2.1
>local IN MX 5 gate.local.
>local IN NS gate.local.
>smtnet IN CNAME gate.local.
>localhost.local. IN A 127.0.0.1
>======================
>/var/named/10.1.2.rev
>======================
>2.1.10.in-addr.arpa. IN SOA gate. hostmaster.local. (
> 900148559
> 10800
> 3600
> 432000
> 38400 )
>2.1.10.in-addr.arpa. IN NS gate.
>=======================
>/var/named/127
>=======================
>127.in-addr.arpa. IN SOA localhost. root.localhost. (
> 1998061302
> 604800
> 86400
> 2419200
> 604800 )
>@ IN NS localhost.
>1.0.0 IN PTR localhost.local.
>==============
>named.boot
>==============
>directory /var/named
>cache . named.root
>primary local local
>primary 2.1.10.IN-ADDR.ARPA 10.1.2
>primary 127.IN-ADDR.ARPA 127
>options query-log
>
>
>
>
>--
>Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org <
/dev/null
>
--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: