Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th September 2004, 10:46 AM
v8s10blazer Offline
Registered User
 
Join Date: Sep 2004
Location: Moore, Oklahoma, South USA
Age: 28
Posts: 153
simple DNS config driving me nuts

Hello,

Well everyone, im having one hell of a time trying to get DNS to work on this fedora server. All im tryin to do is get my webserver, www.metroinformationsystems.com to be resolved in DNS... www is also the name server for the network. The ip address is 192.168.2.25, and from my terminal i can ping www.metroinformationsystems.com but its pinging 127.0.0.1 so i dont think its using DNS to resolve itself. Ive tried everything, ive bought two books, talked to several people, and done numerous howtos, went from fedora 2 back to fedora 1 with all the updates.. IT still will not work!!!! I cant believe how hard this is, i did it in class about 4 months ago and it WORKed fine! I am running Bind 9.2.2

I also get this error when i tried to reload named.
/etc/init.d/named reload
reloading named: 4005: no process killed [failed]
I checked to see named was running, it was, pid 4005... So im lost to why it wont reload...

Anyways here are my configs /etc/named.conf /var/named/metro.zone and /var/named/2.168.192.zone ...
named.conf :
// generated by named-bootconf.pl

options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
*/
// query-source address * port 53;
};

//
// a caching only nameserver config
//
zone "." IN {
type hint;
file "named.ca";
};

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "metroinformationsystems.com" IN {
type master;
file "metro.zone";
allow-update { none; };
};
zone "2.168.192.in-addr.arpa" IN {
type master;
file "2.168.192.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

include "/etc/rndc.key";

here is metro.zone, the forward lookup file

$TTL 86400
$ORIGIN metroinformationsystems.com.
@ IN SOA www.metroinformationsystems.com. root.localhost (
1997022716 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400
) ; Minimum
IN NS 192.168.2.25
www IN A 192.168.2.25

Here is the reverse file 2.168.192.zone

$TTL 86400
$ORIGIN metroinformationsystems.com.
@ IN SOA www (
root
1997022715 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
@ IN NS www.metroinformationsystems.com.
25 IN PTR www.metroinformationsystems.com.

Thank you SO much for reading this, Andy
Reply With Quote
  #2  
Old 19th September 2004, 03:47 PM
blammo's Avatar
blammo Offline
Registered User
 
Join Date: May 2004
Location: That toddlin' town...
Posts: 296
FC2 has this chroot thing going for named. The named.conf file should reside under /var/named/chroot/etc and the zone files under /var/named/chroot/var/named. I think this might be your problem. Also copy the rndc.key from /etc to /var/named/chroot/etc.
Reply With Quote
  #3  
Old 19th September 2004, 09:31 PM
john3883's Avatar
john3883 Offline
Registered User
 
Join Date: Jul 2004
Posts: 24
I had a problem setting up DNS as well I think it was because i needed two IP addresses. I found a site that lets you do all that DNS stuff for free. A, CNAME, MX, ect. http://www.sitelutions.com/
Reply With Quote
  #4  
Old 20th September 2004, 03:34 AM
v8s10blazer Offline
Registered User
 
Join Date: Sep 2004
Location: Moore, Oklahoma, South USA
Age: 28
Posts: 153
Hey guys,

Well i moved the zone files around. Seems i moved them into the correct position, because before webmin would read the named.conf file, but when i went to view the zone files for the zones, it would come up blank.
However i still have one problem, i still cant reload named. It gives me that silly error reloading named: (pid): no process killed [failed]
I checked to see named was running, ... I have no clue why its refusing to reload... If i could fix that, im sure it would start resolving.

-thanks for your help guys, andy
Reply With Quote
  #5  
Old 20th September 2004, 04:06 AM
blammo's Avatar
blammo Offline
Registered User
 
Join Date: May 2004
Location: That toddlin' town...
Posts: 296
Try this: /etc/rc.d/init.d/named restart

If this works then check the logs to see if it loaded the zone files. If it gives you an error, then try to kill the PID manually and start it again. If that still won't work then reboot the machine.
Reply With Quote
  #6  
Old 20th September 2004, 06:35 AM
v8s10blazer Offline
Registered User
 
Join Date: Sep 2004
Location: Moore, Oklahoma, South USA
Age: 28
Posts: 153
OMG the son of a ***** worked.... I cant believe it...
I went ahead and pasted the three name files everywhere in the /var/named directory... Then i issued /etc/init.d/named RESTART and then i was able to ping www.metroinformationsystems.com from my windows pc...

Well blammo, i couldnt have done it without you... Thank you so much for helping me, i feel like a huge weight has got off my shoulders... This damn DNS has really been driving me ****ing nuts lol... NOW!! Off to samba!!!

-thank you so much, andy
Reply With Quote
  #7  
Old 20th September 2004, 02:27 PM
blammo's Avatar
blammo Offline
Registered User
 
Join Date: May 2004
Location: That toddlin' town...
Posts: 296
You're welcome
Reply With Quote
  #8  
Old 14th October 2004, 06:01 PM
coredump's Avatar
coredump Offline
Registered User
 
Join Date: Oct 2004
Location: new mexico
Age: 39
Posts: 2
how would one serve like this (local dns) and also have external dns? ive heard about containers or something, but my local net i have to use the hosts file to point it right. would like to be able to just adjust dns settings and any new domain i add would automatically load in the local net as well as the outside world. lol.

if i can resolve my current dns issue. still searching for that answer and will work on local dns later.
__________________
--
coredump http://www.linuxoverwindows.com
please dont send me word documents
Reply With Quote
Reply

Tags
config, dns, driving, nuts, simple

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Help!!! Driving me nuts!! marleighnah Installation and Live Media 7 27th February 2008 03:25 PM
Help! Sendmail driving me nuts on FC7 RussellK Servers & Networking 0 12th February 2008 03:14 AM
Yum updates driving me nuts! JN4OldSchool Wibble 58 16th February 2007 06:31 PM
ProFTPD HELP! Driving me nuts! taigon Servers & Networking 0 2nd March 2006 09:22 PM
ati drivers are driving me nuts archvile Hardware & Laptops 2 8th February 2005 01:28 AM


Current GMT-time: 01:28 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat