LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 04-23-2006, 03:37 PM   #1
enigma_0Z
Member
 
Registered: Apr 2005
Distribution: Ubuntu, RHEL, Darwin
Posts: 72

Rep: Reputation: 15
Need help with Bind on Ubuntu, can't seem to get it working


I'm putting a DNS server together with Ubuntu, but I can't seem to find where the zone files are supposed to be put. Normally, they'd be in /var/named, but there is no directory there. I checked online, and they said to make a chroot environment under /var/cache/named/ (I think). I tried that too, but it can't seem to resolve any names. I can dig my DNS name and it comes up with a SOA record, but even that doesn't have a hostname or an IP associated with it.

Maybe I've got my zone file screwed up. However, I can't get to it right now, so if that's the case could someone give me a really good example (with MX, NS, A, and CNAME's if possible)?
 
Old 04-24-2006, 06:52 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 20,995
Blog Entries: 44

Rep: Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239
I think you're trying to work on different problems at the same time. It may be recommended to run BIND in a chroot but I think you should get a grip on basic BIND operation first.

Normally, they'd be in /var/named, but there is no directory there.
If your named.conf expects it there, but it wasn't made at package post-install, just make the dir.


I tried that too, but it can't seem to resolve any names. I can dig my DNS name and it comes up with a SOA record, but even that doesn't have a hostname or an IP associated with it.
After you set up named you might want to read some online book to quickly familiarise yourself with BIND like this one. Test some stuff, make it log in verbose mode and when you can't make it work right please post your named.conf and *exact* error messages.
 
  


Reply

Tags
bind, dns, ubuntu


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CNAMES not working in Bind 9.3.1 astender Linux - Networking 12 03-04-2006 11:19 AM
bind in not working! cwc Red Hat 7 12-06-2005 08:56 AM
BIND - Working, but not properly :( cosmicperl Linux - Software 3 07-23-2005 01:48 PM
Postfix, MySQL, SquirrelMail and BIND - Ubuntu retiem Ubuntu 3 04-07-2005 08:06 AM
BIND only working some of the time noisybastard Linux - Networking 1 06-11-2003 07:58 PM


All times are GMT -5. The time now is 02:50 PM.

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
Open Source Consulting | Domain Registration