LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-30-2008, 06:42 AM   #1
priyank123
LQ Newbie
 
Registered: Apr 2008
Posts: 25

Rep: Reputation: 15
Question Problem in DNS


hi
i m newbee in rhel5. i m using rhel5 in vmware. my main OS is XP.
where i m wrong. so pls correct my config file.

thanku

my ip configure detail is

XP IP 192.168.1.10
Rhel5 in vmware 192.168.1.100
DG 192.168.1.1
dns server ip is
69.68.87.85
69.68.87.86

this is my resolve.conf

search jak.com
nameserver 192.168.1.100
nameserver 69.68.87.85
nameserver 69.68.87.86

this is my named.conf

//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver package to configure the
// ISC BIND named( 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.
//
acl network { 192.168.1.0/24; };
options {
listen-on port 53 { 127.0.0.1; 192.168.1.100; };
listen-on-v6 port 53 { ::1; };
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";
forward only;
query-source port 53;
query-source-v6 port 53;
allow-query { localhost; network; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view localhost_resolver {
match-clients { localhost; network; };
match-destinations { localhost; network; };
recursion yes;


zone "jak.com" IN {
type master;
file "jak.com.zone";
allow-update { network; };
};

zone "1.168.192.in-addr.arpa" IN {
type master;
file "192.168.1.100.zone";
allow-update { network; };
};
include "/etc/named.rfc1912.zones";
};
 
Old 07-30-2008, 08:29 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 80
Quote:
this is my resolve.conf

search jak.com
nameserver 192.168.1.100
nameserver 69.68.87.85
nameserver 69.68.87.86

---snip---

this is my named.conf

zone "jak.com" IN {
type master;
file "jak.com.zone";
allow-update { network; };
};
Why do you have jak.com ?

That domain and nameserver already exists:

DNS Lookup Results
Host Type Value
jak.com. A 209.62.119.66
jak.com NS ns1.theplanet.com.
jak.com NS ns2.theplanet.com.
ns1.theplanet.com. A 70.87.7.71
ns2.theplanet.com. A 70.87.7.73

If your just wanting to learn how to use DNS zones, use a domain that's not registered on the Internet, such as testdomain.internal, your fully qualified domain name (FQDN) would be:

hostname.testdomain.internal
 
  


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 M_C Linux - Server 2 06-10-2008 09:07 PM
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 10:59 PM
DNS problem sachin1361 Linux - Enterprise 5 03-17-2007 01:51 AM
DNS problem eQualizer Linux - Networking 4 08-11-2004 03:50 AM
DNS problem elmedin Linux - Networking 1 04-16-2004 03:08 AM


All times are GMT -5. The time now is 12:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration