LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-19-2011, 12:22 AM   #1
kijush.maharjan
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Rep: Reputation: 0
Question problem in domain lookup for a particular domain


i've got a strange problem. there is a domain name eg. xyz.com i cannot resolve it through my dns but can be resolved from other opendns. my dns can resolve all other domain hosted on the same server but not this particular domain. whenever i restart the service it works for limited time, but again same problem both from primary and secondary dns. if the dns resolve xyz.com, it doesn't lookup www.xyz.com or mail.xyz.com or vice versa. i am very confused on this matter and got no idea what is goin on. please help!!!
 
Old 06-19-2011, 05:22 AM   #2
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi,

Do you have BIND configured, can you show it to us?
Show us your zone configurations too.
 
Old 06-20-2011, 01:24 AM   #3
kijush.maharjan
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Original Poster
Rep: Reputation: 0
my named.conf


//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver package to configure the
// ISC BIND named(8) DNS server as a caching only nameserver
// (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// DO NOT EDIT THIS FILE - use system-config-bind or an editor
// to create named.conf - edits to this file will be lost on
// caching-nameserver package upgrade.
//
options {
# listen-on port 53 { 127.0.0.1; 192.168.20.20; }; //192.168.20.20 is secondary DNS
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-transfer { 192.168.20.20; };
allow-query { mylan; };
allow-recursion { mylan; };
notify no;
transfer-format many-answers;
interface-interval 0;
max-transfer-time-in 60;
version "Not Available";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
include "/etc/named.rfc1912.zones";
acl mylan {
192.168.0.0/24;
172.16.100.0/24;
172.18.100.0/24;
172.19.100.0/24;
127.0.0.1;
};


which zone are you talking about? is it the xyz.com? i don have access to the dns of xyz.com.
 
Old 06-20-2011, 02:52 AM   #4
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
hi,

yes, the zone "xyz.com" is probably registered and configured somewhere else (on other DNS server), which your server does not have access to.

What is the role of your server (DNS master, caching only ...) whereas do you 'host' domains on your server (bind)?

I can only point you to DNS-HOWTO or bind9_and_caching_nameserver ( or google search)

or start configuring DNS server from the start (how-to-setup-a-dns-server-on-centos-5 or HOWTO_Configuring_DNS / domain-name-server) as I can't say where the problem is, maybe someone else could find more.

Last edited by lithos; 06-20-2011 at 03:00 AM.
 
Old 06-21-2011, 01:02 AM   #5
kijush.maharjan
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks i'll check all the links.

I am looking forward to solve the problem.
 
  


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
Not able to lookup only to one domain Ashish Pati Linux - Server 4 09-16-2009 04:56 AM
Slow domain name lookup hosler Linux - Wireless Networking 4 07-29-2008 01:02 PM
Squid Proxy domain name lookup 6figganigga Linux - Security 8 02-26-2008 10:10 PM
restrict dns lookup for for a domain sunlinux Linux - Networking 2 08-10-2007 06:45 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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