Need help with simple DNS setup

Mark_Andrews at isc.org Mark_Andrews at isc.org
Fri May 10 00:03:44 UTC 2002


> 
> I am trying to get dns running on a linux box. I want the name server
> (ns.techfluency.org) and site (www.techfluency.org) on the same IP.
> What is confusing me is if I dig www.techfluency.org on the linux box,
> it works fine. If I try www.techfluency.org on a different machine, it
> cannot find it. I ran named-checkzone on my zone file, and it said it
> was fine. I also don't get any errors when I restart named. Any help
> would be greatly appreciated.

	Sounds like a firewall problem.

> 
> ## named.conf - configuration for bind
> #
> # Generated automatically by bindconf, alchemist et al.
> controls {
>         inet 127.0.0.1 allow { localhost; } keys { rndckey; };
> };
> include "/etc/rndc.key";
> options { 
> 	directory "/var/named/"; 	
> };
> 
> zone  "." { 
> 	type hint; 
> 	file  "named.ca";
> };
> 
> zone  "0.0.127.in-addr.arpa" { 
> 	type master; 
> 	file  "0.0.127.in-addr.arpa.zone"; 
> };
> 
> zone  "localhost" { 
> 	type master; 
> 	file  "localhost.zone"; 
> };
> 
> zone  "techfluency.org" { 
> 	type master; 
> 	file  "domain.db"; 
> };
> 
> ========domain.db===================
> $TTL 3D
> @ IN SOA techfluency.org. information.techfluency.org. (

	The MNAME should be the name of the nameserver that is the
	master ns.techfluency.org, not the name of the zone.

> 2002050903	;Serial
> 3H		;Refresh
> 15M		;Retry
> 1W		;Expire
> 1D )		;Minimum
> ;
> @	NS 	ns.techfluency.org.

	Your missing your second NS record.

	NS	SMTU.MT.RS.ELS-GMS.ATT.NET.

> 	MX 5 	ns.techfluency.org.
> ;
> localhost A 	127.0.0.1
> ns 	A 	12.160.102.130
> www	CNAME	ns
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list