Localhost
phn at icke-reklam.ipsec.nu
phn at icke-reklam.ipsec.nu
Sun Feb 10 09:00:21 UTC 2002
Aragon <aragon at aragonsworld.net> wrote:
> Thanks 'Peter Kakanson' for your answer on (no subject) for Aragonsworld.net.
> I did see the syslog entries for 'zonecheck.manet.nu' .....
> You said my nameserver was not answering DNS querys.....
See this :
> dig Aragonsworld.net ns @ns1.Aragonsworld.net.
; <<>> DiG 8.3 <<>> Aragonsworld.net ns @ns1.Aragonsworld.net.
; (1 server found)
;; res options: init recurs defnam dnsrch
;; res_nsend to server ns1.Aragonsworld.net. 208.190.106.2: Connection refused
Which normally means one of two things : server is not running or
port 53 is blocked "en route".
Peter h
> I need to find out if this is the reason: after seeing several references
> in the
> digest to domains having a 'localhost' zonefile, I inquired of my friend
> whether
> I needed one and his answer was yes. Until a few days ago I only had zone
> files for
> '127.0.0' and '208.190.106.2' and of course my 'hosted domains' zone files.
> Here is the 'localhost zone file' I added: (db.localhost)
> ===============
> $TTL 1W
> localhost. IN SOA ns1.aragonsworld.net.
> root.ns1.aragonsworld.net. (
> 2002020500
> 24H
> 2H
> 30D
> 1W )
> ;
> localhost. IN NS localhost.
> ;
> localhost. IN PTR 127.0.0.1
> ;
> ===============
> Here is my existing file: (db.127.0.0)
> ===============
> $TTL 1W
> 0.0.127.in-addr.arpa. IN SOA ns1.aragonsworld.net.
> root.ns1.aragonsworld.net. (
> 2001062701
> 24H
> 2H
> 30D
> 1W )
> ;
> 0.0.127.in-addr.arpa. IN NS ns1.aragonsworld.net.
> ;
> 1.0.0.127.in-addr.arpa. IN PTR localhost.
> ;
> ===============
> Here is my 'named.conf' file:
> ===============
> options {
> directory "/etc/namedb";
> dump-file "/etc/named_dump.db";
> multiple-cnames yes;
> version "Nexus";
> notify yes;
> check-names response warn;
> check-names master warn;
> fetch-glue yes;
> allow-query { 151.164.1.1; 151.164.1.7; 63.82.197.34;
> 66.137.140.185; 192.168.0/24; };
> allow-recursion { 192.168.0/24; };
> };
> zone "." {
> type hint;
> file "db.cache";
> };
> zone "0.0.127.in-addr.arpa" {
> type master;
> file "db.127.0.0";
> };
> zone "localhost" {
> type master;
> file "db.localhost";
> };
> zone "0.106.190.208.in-addr.arpa" {
> type master;
> file "db.208.190.106.0";
> allow-transfer { 151.164.1.1; 151.164.1.7; };
> };
> zone "aragonsworld.net" IN {
> type master;
> file "db.aranet";
> allow-transfer { 151.164.1.1; 151.164.1.7; };
> };
> zone "aragonsworld.com" IN {
> type master;
> file "db.aracom";
> allow-transfer { 151.164.1.1; 151.164.1.7; };
> };
> zone "billsbestbenefits.com" IN {
> type master;
> file "db.bills";
> allow-transfer { 151.164.1.1; 151.164.1.7; };
> };
> zone "khorelia.com" IN {
> type master;
> file "db.debs";
> allow-transfer { 66.137.140.185; };
> };
> zone "nwrcc.com" IN {
> type master;
> file "db.nwrcc";
> allow-transfer { 66.137.140.185; };
> };
> zone "e-commhouston.com" IN {
> type master;
> file "db.ecom";
> allow-transfer { 151.164.1.1; 151.164.1.7; };
> };
> zone "houston-we-love-you.com" IN {
> type master;
> file "db.houluv";
> allow-transfer { 151.164.1.1; 151.164.1.7; };
> };
> zone "houston-family-enterprises.com" IN {
> type master;
> file "db.houfam";
> allow-transfer { 151.164.1.1; 151.164.1.7; };
> };
> zone "veegersoft.com" IN {
> type master;
> file "db.veegersoft";
> allow-transfer { 151.164.1.1; 151.164.1.7; };
> };
> zone "totallyautomatichomebusiness.com" IN {
> type master;
> file "db.totally";
> allow-transfer { 151.164.1.1; 151.164.1.7; };
> };
> logging {
> category lame-servers {
> default_syslog;
> };
> category xfer-out {
> default_syslog;
> };
> category cname {
> default_syslog;
> };
> };
> ===============
> My friend said that the localhost zone file would help with 'reverse lookups'
> What am I doing wrong?
> This is the syslog error entry I get now:
> ns1 named[164]: sysquery: findns error (NXDOMAIN) on localhost?
> ...................
> My domain: 'aragonsworld.net'
> My nameserver: 'ns1.aragonsworld.net' (208.190.106.2)
> ...................
> Any and all help would be appreciated immensely. :)
> ----- BEGIN SIGNATURE LINE -----
> Be a multi-dimensional entity and co-creator with 'all that is'
> Run and administer a FreeBSD server today!
> System Admin...it's a nasty job but someone has to do it!
> http://www.aragonsworld.net (ARAGONSWORLDNET)
> aragon at aragonsworld.net
> http://www.freebsd.org - The FreeBSD project
> http://www.slashdot.org - News for Nerds (Stuff that matters)
> ----- END SIGNATURE LINE -----
--
Peter Håkanson
IPSec Sverige (At the Riverside of Gothenburg, home of Volvo)
Sorry about my e-mail address, but i'm trying to keep spam out.
Remove "icke-reklam" and it works.
More information about the bind-users
mailing list