Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-20-2008, 02:48 PM   #1
LQ Newbie
Registered: Jun 2007
Posts: 3

Rep: Reputation: 0
dns works on server, refuses client connections

Hi, I just set up DNS services on my main home network server. Everything works fine from the server (dig, nslookup, etc.)

When I try to point my client there, my connection is refused:

[ matt@client:~ ] dig @ soa +vc
;; Connection to for failed: connection refused.
Firewall is turned off, and I'm pretty sure I've got my named.conf set up to allow queries from the local network...

[root@server:~]# service iptables status
iptables: Firewall is not running.
[root@server ~]# nmap localhost

Starting Nmap 4.20 ( ) at 2008-01-20 10:45 HST
Interesting ports on localhost.localdomain (
Not shown: 1680 closed ports
21/tcp    open  ftp
22/tcp    open  ssh
25/tcp    open  smtp
53/tcp    open  domain
80/tcp    open  http
81/tcp    open  hosts2-ns
110/tcp   open  pop3
111/tcp   open  rpcbind
143/tcp   open  imap
389/tcp   open  ldap
631/tcp   open  ipp
953/tcp   open  rndc
993/tcp   open  imaps
995/tcp   open  pop3s
3306/tcp  open  mysql
8443/tcp  open  https-alt
10000/tcp open  snet-sensor-mgmt

Nmap finished: 1 IP address (1 host up) scanned in 0.227 seconds
[root@server ~]# cat /etc/named.conf 
acl leonhardt-lan {;
options {
        directory "/var/named";
        allow-query { "leonhardt-lan"; };
        allow-transfer { "leonhardt-lan"; };
        listen-on port 53 {; };
        listen-on-v6 port 53 { ::1; };
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
        recursion yes;
        forwarders {; }; #router is given dns server list through dhcp
        forward only; #rely completely on our upstream nameservers
        query-source address * port 53;

logging {
        channel default_debug {
                file "data/";
                severity dynamic;

zone "." IN {
        type hint;
        file "";

# Forward Zone for leonhardt.lan domain
zone "leonhardt.lan" IN {
        type master;
        file "";

# Reverse Zone for leonhardt.lan domain
zone "" IN {
        type master;
        file "";            

include "/etc/named.rfc1912.zones";
Thanks in advance,

Last edited by mfleonhardt; 01-20-2008 at 02:51 PM.
Old 01-20-2008, 05:33 PM   #2
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Take a look at your "listen-on" statement in the options section. I don't see

For reference, this is my listen-on statement

// Listen ONLY on the following interfaces
listen-on { ;; };
Old 01-20-2008, 07:19 PM   #3
LQ Newbie
Registered: Jun 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, scowles...that did the trick!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dns client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 03:30 PM
SSH Refuses Connections Intermittently Noido Linux - Software 6 09-12-2006 12:59 PM
Freenx server works right, client seem to have problem. isuck@linux Linux - Software 7 08-02-2006 05:22 PM
Pure-ftpd refuses connections 69_rs_ss Linux - Networking 0 04-29-2004 10:48 AM
x server refuses connections in mid-session mark9121 Linux - General 3 09-21-2003 09:30 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration