DNS Doesn't want to work

DNS Doesn't want to work

Post by Peet Groble » Sun, 31 Dec 1899 09:00:00



Hello.

I'm trying to setup a DNS for a small network. There's no connection to the
internet. Can anybody tell me if you can see anything wrong? Also, is there
a way to make it run only on one IP (not the aliased ones?)

Thanks in advance,
Peet.

My Configuration Files:

/var/named/home.net :

    1
    3600
    300
    172800
    43200 )

IN NS 192.168.0.2    # The box's IP

haven.home.net    IN A    192.168.0.1
mail.home.net        IN A    192.168.0.2
support.home.net    IN A    192.168.0.3
#EOF

/etc/named.conf:
options {
    directory "/var/named";

Quote:}

zone "home.net" {
    type master;
    file "home.net";
Quote:};

#EOF

When I issue "/etc/rc.d/init.d/named start", the following appears in the
syslog:

home.net: WARNING SOA expire value is less than 7 days (172800)
Zone "home.net" (file home.net): No NS RRs found at zone top
master zone "home.net" (IN) rejected due to errors (serial 1)
listening [127.0.0.1].53 (lo)
listening [192.168.0.2].53    (eth0)
listening [192.168.0.3].53    (eth0:0)
Forwarding source address is [0.0.0.0].1300
Ready to answer queries

 
 
 

DNS Doesn't want to work

Post by Scott Wallac » Sun, 31 Dec 1899 09:00:00


1) You need add "net." in the first line of your SOA... eg:

...becomes...

2) You need to add a fullstop '.' to the end of your aliases in your
/var/named/home.net file... OR... remove the domain from the entries.... eg:

    1
    3600
    300
    172800
    43200 )

IN NS 192.168.0.2    # The box's IP

haven    IN A    192.168.0.1
mail        IN A    192.168.0.2
support    IN A    192.168.0.3

3) Add listen-on { 192.168.0.2; }; in your options areas in the named.conf.
eg:

options {
    directory "/var/named";
     listen-on { 192.168.0.2; };

Quote:}

... try those... let me know how you go, okay?

> Hello.

> I'm trying to setup a DNS for a small network. There's no connection to the
> internet. Can anybody tell me if you can see anything wrong? Also, is there
> a way to make it run only on one IP (not the aliased ones?)

> Thanks in advance,
> Peet.

> My Configuration Files:

> /var/named/home.net :


>     1
>     3600
>     300
>     172800
>     43200 )

> IN NS 192.168.0.2    # The box's IP

> haven.home.net    IN A    192.168.0.1
> mail.home.net        IN A    192.168.0.2
> support.home.net    IN A    192.168.0.3
> #EOF

> /etc/named.conf:
> options {
>     directory "/var/named";
> }

> zone "home.net" {
>     type master;
>     file "home.net";
> };
> #EOF

> When I issue "/etc/rc.d/init.d/named start", the following appears in the
> syslog:

> home.net: WARNING SOA expire value is less than 7 days (172800)
> Zone "home.net" (file home.net): No NS RRs found at zone top
> master zone "home.net" (IN) rejected due to errors (serial 1)
> listening [127.0.0.1].53 (lo)
> listening [192.168.0.2].53    (eth0)
> listening [192.168.0.3].53    (eth0:0)
> Forwarding source address is [0.0.0.0].1300
> Ready to answer queries


 
 
 

DNS Doesn't want to work

Post by Matt » Sun, 31 Dec 1899 09:00:00


Just want to ask why not use hosts?  You prob. gonna say "to learn"
though...

Matt.

 
 
 

DNS Doesn't want to work

Post by Peet Groble » Sun, 31 Dec 1899 09:00:00


Nope. Not "to learn". Well, okay, maybe a little bit. The thing is, I got
this home network, that I keep playing with ("to learn"). That's, setting up
NFS, FTP servers, http servers, NIS servers (still gotta do that!), IP
Aliasing, all that stuff. Now, the *y IP addresses are changing so
often, that I have to keep updating all hosts' /etc/hosts file almost daily.

I got this mechanism currently, where you change everything on one host
(support.home.net), then run a script export_hosts, which puts the file on
different NFS volumes for each host. The remote hosts then checks every 4
hours (via cron) if the file exists there. If it does, it erases its current
file, and load the new one.

DNS just seems so much easier, don't you think?

Cheers,
Peet.


>Just want to ask why not use hosts?  You prob. gonna say "to learn"
>though...

>Matt.

 
 
 

1. Re. bffcreate -X doesn't work Re: bffcreate -X Doesn't Work

bffcreate first restores all images from the tape to /tmp (default)
and than does a 'restore -p' to pack them in big files and place these
files in /usr/sys/inst.images. It's much more easier to use 'dd' to
copy the files directly from the tape to disk. The only thing you have
to take care about it the naming. If all images are copied run 'inutoc'
on the directory were you placed your files this will create the
table of contents files '.toc'.

frank ;-)

.----------------------------------------------------------------------.
| E-Mail: FRANVM3(KRAEMERF)                 - IBM VNET  "Yes, I'm one  |
| ======  IBMMAIL(DEIBM27S)                 - IBM-Mail   of those      |
|         DE.IBMX400.IBMMAIL.KRAEMER.KRAEME - X.400      stupid IBM    |

| Voice : +49-(0)611/776-364                                           |
| Mail  : Abraham-Lincoln Street 26, 6200 Wiesbaden, Germany           |
'----------------------------------------------------------------------'

2. Road Runner News-Server and RH6.1/IP MASQ

3. External DNS doesn't work for Win XP client thru RH 7.2 server!

4. (no subject)

5. "ping -s" in solaris doesn't work when DNS server unvailable.

6. Doubled PATH definition.

7. DNS reverse address resolving doesn't work properly

8. What gets written to at boot time?

9. DNS through IP Masq doesn't work

10. PPP doesn't die, it just doesn't work anymore

11. Round Robin DNS - My setup doesn't work, please help.

12. Reverse DNS on subnet-assigned networks doesn't work

13. Masquerading doesn't work with dns