Networking Forums

Networking Forums > Computer Networking > Linux Networking > named does not server

Reply
Thread Tools Display Modes

named does not server

 
 
Sanal Kisi
Guest
Posts: n/a

 
      03-07-2005, 12:56 PM
On my RHAS3 I have 2 NICs, one connected to internet with real IP
and the other connected to my local LAN.

With some gentle help from this group I have managed to set up the
required iptables rules on this server so that it now acts as a
gateway/nat/router for my local workstations reaching internet.

Now my next issue is to setup a DNS server which would serve my local
users in reaching the other internal servers.

Using Webmin I created a masterzone and entered the basic records for
my domain, and also made sure that named is also running. But the DNS
server does not work and provides nothing when any of my local
workstations try to resolve any address.

Any idea ?
 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      03-07-2005, 04:14 PM
On Mon, 07 Mar 2005 15:56:59 +0200, Sanal Kisi <(E-Mail Removed)> wrote:
> On my RHAS3 I have 2 NICs, one connected to internet with real IP
> and the other connected to my local LAN.
>
> With some gentle help from this group I have managed to set up the
> required iptables rules on this server so that it now acts as a
> gateway/nat/router for my local workstations reaching internet.
>
> Now my next issue is to setup a DNS server which would serve my local
> users in reaching the other internal servers.
>
> Using Webmin I created a masterzone and entered the basic records for
> my domain, and also made sure that named is also running. But the DNS
> server does not work and provides nothing when any of my local
> workstations try to resolve any address.


Does DNS work on the server itself, using only itself (127.0.0.1) in
/etc/resolv.conf? Does netstat -atun show anything listening on port 53,
or limited to just certain IPs? Is your firewall allowing traffic to port
53 on your server?

You may have created a master zone for your domain, but did you create a
reverse zone to map local IPs to names? See the DNS HOWTO for examples.
 
Reply With Quote
 
Dan
Guest
Posts: n/a

 
      03-08-2005, 12:38 AM
On Mon, 07 Mar 2005 15:56:59 +0200, Sanal Kisi <(E-Mail Removed)>
wrote:


>But the DNS
>server does not work and provides nothing when any of my local
>workstations try to resolve any address.


Use 'dig' to help you.

man dig

On the PC with your dns server running try this command:

dig @localhost somedomain.com

This will tell you if named is working.

If the other PCs on your network are Linux boxes use dig again:

dig @ip.address.of.DNSserver somedomain.com

Is the dns setting on the other PCs set to your dns server? Do they
get there ip addresses and dns settings via dhcp? If so, then the
dhcp server will need to tell them where the dns server is.

Dan


 
Reply With Quote
 
Mike Dixon
Guest
Posts: n/a

 
      03-08-2005, 09:04 AM
Is your local box configured as namesever to go to on your workstations

mike

"Sanal Kisi" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On my RHAS3 I have 2 NICs, one connected to internet with real IP
> and the other connected to my local LAN.
>
> With some gentle help from this group I have managed to set up the
> required iptables rules on this server so that it now acts as a
> gateway/nat/router for my local workstations reaching internet.
>
> Now my next issue is to setup a DNS server which would serve my local
> users in reaching the other internal servers.
>
> Using Webmin I created a masterzone and entered the basic records for
> my domain, and also made sure that named is also running. But the DNS
> server does not work and provides nothing when any of my local
> workstations try to resolve any address.
>
> Any idea ?



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
named problem? Mike Linux Networking 6 01-16-2007 07:24 PM
Disappearing /var/named/pz tobias@itservices.co.mz Linux Networking 2 09-18-2005 10:18 PM
possible named problem Charles Linux Networking 1 01-03-2005 07:14 PM
java chat server causes named, ssh, httpd to become unresponsive! julia Linux Networking 0 10-18-2004 01:00 AM
I can't get named to start NOSPAM Linux Networking 1 08-23-2003 02:05 AM



1 2 3 4 5 6 7 8 9 10 11