LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-23-2003, 07:57 AM   #1
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Rep: Reputation: 15
Newbie DNS Problems.




Hello. I have been using Red Hat 8/KDE for about 3 months now. I have successfully set up, DHCP, FTP (pass worded), samba print server for windows, web, mail/pop3 to the internet (Kerio server) and feel that I should be able to get DNS working but its not. I am using the X-window configuration tool provided by KDE.
I have a Smoothwall firewall, main Linux machine & 2 windows 2000 machines on network 192.168.1.0. I have a domain: somedomain.com
The web site is hosted by the Linux machine (192.168.1.6) It works if I go to the ip address but,
if I go to one of the windows computers and go to http://somedomain.com it won’t resolve locally but out on the internet is fine. (zoneedit.com for outside.)
I have incremented my serial.
 
Old 01-23-2003, 01:50 PM   #2
Jon-
Member
 
Registered: Dec 2001
Distribution: RH5.2/6.2/7.0/7.1/7.2/9/ES21/ES31
Posts: 91

Rep: Reputation: 15
Besides all the basic stuff (is the DNS server actually running/reloaded/restarted on the Linux server; are the Win2k boxes set to use the Linux for primary DNS, etc) you might check if your gui tool is correctly updating the named.conf file.

Check /etc/named.conf and see if there is a listing for somedomain.com. Check the file reference and make sure the file exists (/var/named/something, like somedomain.com).

If so, does dns resolution work from the linux box. If you ping somedomain.com from the Linux box does it resolve?

You might also verify this isn't a result of a misconfigured firewall blocking internal requests to the DNS server. Drop the firewall for a second and then try the win2k requests.
 
Old 01-23-2003, 04:47 PM   #3
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Original Poster
Rep: Reputation: 15
named is running

Yes, bind is running. The config. tool is updating the conf file just fine. I have 1 smoothwall firewall between my LAN and the internet. No firewall on the linux box itself. I have the DHCP server issuing the router (to the net) primary and the linux box secondary. All W2K machines show this with a ipconfig /all command. I can ping the linux box from a W2K box and it resolves fine.
The IP of the linux box is: 192.168.1.6
I can ping that fine.
The name of the Linux box is: cdc3
If I ping cdc3 from any machine on my network and it resolves my WAN IP. (Im on a cable modem)

My firewall (smoothwall.org) has 2 nic cards and will not allow internal traffic to go out to the net then back in... Security reasons. could that be a problem?

somedomain.com.zone file:

$TTL 86400
@ IN SOA cdc3.somedomain.com. root.somedomain.com. (
2003012001 ; serial
8H ; refresh
2H ; retry
7D ; expire
1D ; default_ttl
)
@ IN MX 5 cdc3.somedomain.com.
@ IN NS cdc3.somedomain.com.
 
Old 01-23-2003, 05:05 PM   #4
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Original Poster
Rep: Reputation: 15
named.conf

options {
directory "/var/named/";
};
## named.conf - configuration for bind
#
# Generated automatically by redhat-config-bind, alchemist et al.
# Any changes not supported by redhat-config-bind should be put
# in /etc/named.custom
#
controls{
inet 127.0.0.1 allow{
localhost;
} keys{
rndckey;
};
};
key "rndckey"{
algorithm hmac-md5;
secret "xJz716kgSz5iXwMZZbobbmQW9bKsy1RkfO6blahtzb0000000000taWOblahblahblahS";
};
zone "." {
type hint;
file "named.ca";
};
zone "localhost" {
type master;
file "localhost.zone";
};
zone "somedomain.com" {
type master;
file "somedomain.com.zone";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "0.0.127.in-addr.arpa.zone";
};
 
  


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
Newbie DNS Question dodgydodgy Linux - Networking 4 04-09-2005 06:13 AM
newbie DNS question hasnofleas Linux - Networking 1 05-27-2003 05:30 AM
DNS newbie questions zdavis Linux - Networking 9 04-06-2003 12:45 PM
Newbie Here . . . Having Problems with Apache Server Config and DNS. flem26 Linux - Newbie 6 03-08-2003 08:37 PM
Newbie DNS confusion thomas.nichols Linux - Networking 3 07-19-2001 10:04 AM

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

All times are GMT -5. The time now is 07:06 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration