Need help with simple DNS setup
Kevin Darcy
kcd at daimlerchrysler.com
Thu May 9 21:54:53 UTC 2002
tmaynard at pitsco.com wrote:
> 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.
>
> ## 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. (
> 2002050903 ;Serial
> 3H ;Refresh
> 15M ;Retry
> 1W ;Expire
> 1D ) ;Minimum
> ;
> @ NS ns.techfluency.org.
> MX 5 ns.techfluency.org.
> ;
> localhost A 127.0.0.1
> ns A 12.160.102.130
> www CNAME ns
I can't get any answer from 12.160.102.130 ("connection refused"), and
the other delegated nameserver for the domain
(SMTU.MT.RS.ELS-GMS.ATT.NET) doesn't appear to know anything about it.
The former issue is probably due to a networking and/or firewall problem,
and the latter issue is probably a case of the AT&T server either a) not
being configured properly as a slave in the first place, or b) having
expired the zone because it couldn't contact the master for an extended
period of time.
By the way, thanks for posting *real* zonefile/named.conf information
instead of this "foobar" or "domain.com" crap. It's a refreshing
change...
- Kevin
More information about the bind-users
mailing list