LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-25-2005, 02:31 AM   #1
alkingg
LQ Newbie
 
Registered: Oct 2005
Posts: 29

Rep: Reputation: 15
dns problem


when i try to test my configuration of the DNS server using nslookup i got the following message:

nslookup
>my domain

server:127.0.0.1
Address:127.0.0.1#53

**server can't find mydomain;SERVFAIL


please i need a help .....this problem cause a headache to me........thanks
 
Old 10-25-2005, 03:02 AM   #2
ashamril
Member
 
Registered: Jan 2003
Location: cyberjaya
Distribution: rh mdk deb fed suse
Posts: 99

Rep: Reputation: 15
can u nslookup other domain?
 
Old 10-25-2005, 03:09 AM   #3
alkingg
LQ Newbie
 
Registered: Oct 2005
Posts: 29

Original Poster
Rep: Reputation: 15
Re: dns problem

i can nslookup nothing
 
Old 10-25-2005, 01:42 PM   #4
alkingg
LQ Newbie
 
Registered: Oct 2005
Posts: 29

Original Poster
Rep: Reputation: 15
is my question is so difficult!!!!????
 
Old 10-25-2005, 08:33 PM   #5
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Rep: Reputation: 33
Try dig, it comes with the bind package so is there for sure.

Try to dig yahoo.com, for instance just to test that it is actually working and then try your own dns.
 
Old 10-26-2005, 04:06 AM   #6
alkingg
LQ Newbie
 
Registered: Oct 2005
Posts: 29

Original Poster
Rep: Reputation: 15
dig also give error message ......i dont think that the issue is in using nslookup or dig .it is a configuration problem .......thanks for replies
 
Old 10-26-2005, 01:07 PM   #7
alkingg
LQ Newbie
 
Registered: Oct 2005
Posts: 29

Original Poster
Rep: Reputation: 15
did any one use DNS in fedora core version 3 ??!!!!!
 
Old 10-26-2005, 01:57 PM   #8
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Rep: Reputation: 33
might sound stupid, but is the named running?

is it a dns or a cache-dns, or both.

Post some more info if oyu can.
 
Old 10-27-2005, 06:06 AM   #9
alkingg
LQ Newbie
 
Registered: Oct 2005
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
might sound stupid
what this mean!!!!!????

i solved the problem without any help ......but lets see if there is some one here who can solve the problem.........following is my original (with error) named.conf and zone files


//
// named.conf for Red Hat caching-nameserver
//

options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
allow-query {192.168.1.0/24;localhost;};
allow-recursion{192.168.1.0/24;localhost;};
/*
* 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
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "." IN {
type hint;
file "named.ca";
};


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

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

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

zone "test.com" IN {
type master;
file "test.com.zone";
};

zone "1.168.192.in-addr.arpa" IN{
type master;
file "192.168.1.0.zone";
};

include "/etc/rndc.key";




and my zone file:

$TTL 86400
@ IN SOA ns.test.com. hostmaster.test.com. (
200510241 ; serial (d. adams)
8H ; refresh
2H ; retry
4W ; expiry
1D ) ; minimum


IN NS ns.test.com.
IN MX 0 mail.test.com.


ns IN A 192.168.1.1
www IN A 192.168.1.2
mail IN A 192.168.1.1
localhost IN A 127.0.0.1

thanks
 
Old 10-28-2005, 09:08 AM   #10
gerrynam
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
OK I give up. How did you resolve? I am having a similar issue. Please help.
 
Old 11-13-2005, 01:56 AM   #11
fedmap
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
I've had the same question

Yes, I've had the same question.

I don't know the reason caused this problem, but i really resolved it.

This is what i did:

1. reinstall linux. Choose using as server and these item:

www
ftp
telent


2. At least choose these soft packages:

xwindow
GNOME (all)
WWW
FTP
DNS

3. After installing, i seted dns in gnome's start menu.

then, i found it worked well !

Hope it helps.

BTW, i'm not good at English. Hope you can know the meaning upward.
 
  


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 problem alvi2 Linux - Networking 3 05-13-2005 05:45 PM
DNS problem please help me bruse Linux - Networking 3 04-05-2005 06:59 AM
Possible DNS Problem? Hootah Linux - Networking 2 07-04-2004 02:12 PM
dns problem socket9001 Linux - Networking 1 06-12-2004 07:52 AM
problem with DNS bglad Linux - Networking 9 10-20-2003 05:39 AM

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

All times are GMT -5. The time now is 09:38 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
Open Source Consulting | Domain Registration