LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-20-2006, 08:32 AM   #1
joel112
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 169

Rep: Reputation: 30
BIND problems


I'm struggling to get BIND9 to work properly, here are my zone files:

Master Forward Zone

viscount.lc. IN SOA intranet.viscount.lc. joel.intranet.viscount.lc. (
2006022604 ; se = serial number
3h ; ref = refresh
15m ; ret = update retry
3w ; ex = expiry
3h ; min = minimum
)
IN NS intranet.viscount.lc.
IN NS filestore.viscount.lc.

intranet. IN A 10.203.1.7
notesserver. IN A 10.203.1.6
filestore. IN A 10.203.1.5
bdc. IN A 10.203.1.4
server1. IN A 10.203.1.3
baan. IN A 10.203.1.1


Master Reverse Zone

1.203.10.in-addr.arpa. IN SOA intranet.viscount.lc. joel.intranet.viscount.lc. (
2006022607
3h
15m
3w
3h )
7.1.203.10.in-addr.arpa. IN NS intranet.viscount.lc.

7.1.203.10.in-addr.arpa. IN PTR intranet.viscount.lc.
6.1.203.10.in-addr.arpa. IN PTR notesserver.viscount.lc.
5.1.203.10.in-addr.arpa. IN PTR filestore.viscount.lc.
4.1.203.10.in-addr.arpa. IN PTR bdc.viscount.lc.
3.1.203.10.in-addr.arpa. IN PTR server1.viscount.lc.
1.1.203.10.in-addr.arpa. IN PTR baan.viscount.lc.

Now with this I get with nslookup on BSD:

root@intranet# nslookup intranet
Server: 10.203.1.7
Address: 10.203.1.7#53

** server can't find intranet: NXDOMAIN

on windows I get

C:\Documents and Settings\jca.VISCOUNT>nslookup intranet.viscount.lc
*** Can't find server name for address 10.203.1.7: Server failed
*** Default servers are not available
Server: UnKnown
Address: 10.203.1.7

*** UnKnown can't find baan.viscount.lc: Non-existent domain

Anyone any ideas.

Joel
 
Old 02-20-2006, 08:55 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
intranet. IN A 10.203.1.7
You don't need the dot "." at the end of the hostname. The correct syntax is:
Code:
intranet IN A 10.203.1.7
Also in /etc/resolv.conf add the:
Code:
search viscount.lc
or 
domain viscount.lc
to be able to resolve your hosts without the FQDN.
 
  


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
BIND Problems, please help! Gib Sandwich Linux - Networking 5 10-08-2004 06:54 AM
Bind 9 - Chroot problems Nauseous Linux - Networking 2 11-01-2003 04:51 AM
BIND Problems on Redhat 9 Djelibeybi Linux - Networking 3 09-01-2003 11:29 PM
BIND problems Fuzzykitty Linux - Networking 4 06-28-2003 12:56 AM
Bind problems. KnightAbel Linux - Networking 1 04-07-2003 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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