LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11-17-2003, 01:32 PM   #1
talkinggoat
Member
 
Registered: Sep 2003
Location: lafayette, la
Distribution: RHL 6.2, FC 3, Ubuntu 14.04, Ubuntu 16.04
Posts: 112

Rep: Reputation: 15
dns server problem


i am tring to set up a dns server on my local network, but every time i try to start the service i get the error that it can't find the localhost server... it should not be looking for a server with this name. i changed the name of the computer to linuxbox, went through all the dns configuration files and host files and changed the names in those files as well. i also changed all the files in the /var/named directory to match the ones specified in the named.conf file. why is it giving me this error?
 
Old 11-17-2003, 02:08 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Make sure you have "localhost" next to the loopback address in /etc/hosts. Post that file if you are unsure.
 
Old 11-17-2003, 06:13 PM   #3
talkinggoat
Member
 
Registered: Sep 2003
Location: lafayette, la
Distribution: RHL 6.2, FC 3, Ubuntu 14.04, Ubuntu 16.04
Posts: 112

Original Poster
Rep: Reputation: 15
ok... i changed everything back to localhost. including the hosts file. now i am getting "connection refused" what the heck is going on with this thing!?
 
Old 11-17-2003, 06:43 PM   #4
sidmark-2850
Member
 
Registered: Aug 2003
Posts: 133

Rep: Reputation: 15
What version of bind are you running. Restart your server and look in your /var/log/messages file. There may be an indication as to what is causing the failure in the file.
 
Old 11-17-2003, 07:16 PM   #5
talkinggoat
Member
 
Registered: Sep 2003
Location: lafayette, la
Distribution: RHL 6.2, FC 3, Ubuntu 14.04, Ubuntu 16.04
Posts: 112

Original Poster
Rep: Reputation: 15
the server isn't startig. that's the problem bind 9.2.1-16
 
Old 11-17-2003, 07:33 PM   #6
sidmark-2850
Member
 
Registered: Aug 2003
Posts: 133

Rep: Reputation: 15
First, do cat /dev/null > /var/log/messages. This will zero out your messages file. Restart bind, then post the contents of your messages file.
 
Old 11-18-2003, 06:00 AM   #7
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Please post your /etc/named.conf file and the zone files in the /var/named directory.

You can block out the I.P. addresses if you like. It is DNS for a local network so I guess the security risk of publishing this info. is low.

It may also be a good idea to let us see the /etc/resolv.conf and the output from the "hostname" command.

Last edited by jamrock; 11-18-2003 at 06:10 AM.
 
  


Reply



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 server problem nmarmol Linux - Networking 6 09-09-2005 01:48 AM
DNS server problem???? dsschanze Linux - Networking 4 04-13-2005 07:51 AM
DNS Server problem¡¡¡ mabs Linux - Networking 2 03-03-2004 07:29 AM
DNS Server problem notorious_guy Linux - Networking 1 08-04-2003 09:45 AM
DNS-Server Problem ? shazam Linux - Networking 12 03-14-2003 09:44 AM

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

All times are GMT -5. The time now is 10:42 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