LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-12-2004, 09:03 PM   #1
rfkennedy
LQ Newbie
 
Registered: Feb 2004
Location: Toronto
Distribution: RedHat Linux
Posts: 2

Rep: Reputation: 0
DNS can't connect to name server


Hello,

I am trying to set up a DNS server for shambhalatoronto.org using a machine with a fresh install of RH9 fully updated.

I get the following error:
named-xfer[20373]: connect(66.11.164.95) for zone shamabhalatoronto.org
failed: Connection timed out

It seems that my firewall is not letting signals through to port 53 which named is listening on. My Linksys router is forwarding port 53 among others to my local IP 192.168.2.27.

Another strange thing that has gone wrong while trying to get DNS working and is probably related is that my Mozilla browser can find sites by IP number but can't resolve hosts using domain names.

If anyone has any ideas of what I might be doing wrong, please advise me. I have been struggling with this for weeks now. I have cut and pasted all the relevant configuration files below, please let me know if there is another file that I should include.

Thanks for any assistance,
Robert

Named.conf file:
options {
query-source address * port 53;
listen-on {
192.168.2.27;
};
directory "/var/named";
forward first;
forwarders {
66.11.168.195;
66.11.168.198;
};
};

- - -

zone "shambhalatoronto.org" {
type master;
file "db.shambhalatoronto.org";
allow-transfer { 66.11.168.199; };
};

db.shambhalatoronto.org file:

$TTL 600
@ IN SOA shambhalatoronto.org.
hostmaster.shambhalatoronto.org. (
14 ; Serial
288 ; Refresh
14400 ; Retry
3600000 ; Expire
600 ) ; Minimum
; Name servers
IN NS ns1.shambhalatoronto.org.
IN NS ns.istop.com.

; Mail server for domain
IN MX 10 ns1.shambhalatoronto.org.

; Public servers
localhost IN A 127.0.0.1
ns1 IN A 66.11.164.95
mail IN A 66.11.164.95
www IN A 66.11.164.95
ftp IN A 66.11.164.95
; EOF

Network Configuration (GUI):

Host - ns1.shambhalatoronto.org
Primary DNS - 66.11.164.95
Secondary DNS - 66.11.168.199
Tertiary DNS - 192.168.2.27
DNS Search Path - shambhalatoronto.org

Resolve.conf file:

; generated by /sbin/dhclient-script - Rfk added local IP line search shambhalatoronto.org nameserver 66.11.164.95 nameserver 66.11.168.199 nameserver 192.168.2.27

hosts file:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
66.11.164.95 ns1.shambhalatoronto.org ns1
 
Old 02-13-2004, 08:50 AM   #2
aclaunch
Member
 
Registered: Sep 2003
Posts: 91

Rep: Reputation: 15
Does it work with the firewall disabled?

The problem with Mozilla is it can't find a DNS server; all part of the same problem.

Alan
 
Old 02-13-2004, 01:46 PM   #3
rfkennedy
LQ Newbie
 
Registered: Feb 2004
Location: Toronto
Distribution: RedHat Linux
Posts: 2

Original Poster
Rep: Reputation: 0
DNS

Hi Alan,

I have a linksys router serving serveral computers in the house and can't bypass it. I am serving http successfully. The router is set to DMZ and to port forward for 192.168.2.27.

When I go to "dnsreport" dot com and enter the domain I am working on I see an IP 11.66.164.95 there that has nothing to do with me. My static IP is 66.11.164.95.

You are right, whatever it takes the next logical step is to get beyond the router. Also, I removed the RH linux firewall just in case it was interfering.

Thanks,
Robert
 
  


Reply


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
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 10:51 AM.

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