LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 04-23-2006, 02:37 PM   #1
enigma_0Z
Member
 
Registered: Apr 2005
Distribution: Ubuntu, RHEL, Darwin
Posts: 73

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, 05:52 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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



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
CNAMES not working in Bind 9.3.1 astender Linux - Networking 12 03-04-2006 10:19 AM
bind in not working! cwc Red Hat 7 12-06-2005 07:56 AM
BIND - Working, but not properly :( cosmicperl Linux - Software 3 07-23-2005 12:48 PM
Postfix, MySQL, SquirrelMail and BIND - Ubuntu retiem Ubuntu 3 04-07-2005 07:06 AM
BIND only working some of the time noisybastard Linux - Networking 1 06-11-2003 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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