LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 04-21-2008, 12:36 PM   #1
reaky
Member
 
Registered: Oct 2003
Posts: 60

Rep: Reputation: 15
Bind issue


Dear All
We are trying to make a new bind testing server here, We are using RHE4 and bind v 9.2, We configura and make it up and it resolving without any problem and resolve using it from other machines too,But
When we try to make a local zone on it we cualdn ever succed to resolve it I don know why,
we do rndc reconfig and rndc reload sheko-beko.com, But the sam eproblem

It gave us always the following

[root@localhost ~]# dig sheko-beko.com

; > DiG 9.2.4 > sheko-beko.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER- opcode: QUERY, status: NXDOMAIN, id: 27217
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;sheko-beko.com. IN A

;; AUTHORITY SECTION:
com. 151 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1208191360 1800 900 604800 151

;; Query time: 44 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Apr 14 19:57:22 2008
;; MSG SIZE rcvd: 109
---------------------------------------------------------
witout giving the IP

The folowing is the named.conf file and the zone file
---named.conf-------------------------------------------
//
// 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";
/*
* 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 202.113.165.70 port 53;
};

//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "sheko-beko.com" in {
type master;
file "sheko-beko.com.zone";
};

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

include "/etc/rndc.key";
---------------------------------------------------------

and the zone file (sheko-beko.com.zone)
---------------------------------------------------------
$TTL 86400

@ IN SOA localhost.localdomain. root.localhost.localdomain. (
2008033100 ; Serial
18000 ; Refresh - 5 hour
3600 ; Retry - 1 hour
1209600 ; Expire - 2 weeks
43200 ) ; TTL - 12 hours

IN NS localhost.localdomain.
IN A 211.113.175.200
-------------------------------------------------------

Kindly help me to find what the problem is
thanx so much
 
Old 04-22-2008, 02:30 AM   #2
GhostCow
Member
 
Registered: Aug 2007
Posts: 47

Rep: Reputation: 15
Quote:
Originally Posted by reaky View Post
IN NS localhost.localdomain.
IN A 211.113.175.200
there's 2 problems i can think of...
1. you don't have a zone for localhost.localdomain. try changing it just localhost.

2. there's no whitespace before IN, so it thinks it's the host name itself (in.sheko-beko.com)
so try adding at the start of the A record line "sheko-beko.com."
 
  


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
issue with bind 8.3 on solaris (always show root servers) sunethj Linux - Server 1 04-22-2008 03:07 AM
Starting BIND issue DanielTan Linux - General 2 08-28-2005 10:20 AM
need help with a permissions issue reloading bind and apache Pauly Linux - General 1 04-05-2005 05:47 PM
DNS, Bind, rndc update issue jujuman Linux - Networking 8 03-04-2005 09:02 AM
Bind Dns Issue?? treedstang Linux - Networking 2 07-04-2004 01:09 AM


All times are GMT -5. The time now is 04:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration