LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-10-2006, 10:31 PM   #1
williamp0044
LQ Newbie
 
Registered: Feb 2004
Location: Gotham City
Distribution: RedHat Mandrake Suse Knoppix PHLAK
Posts: 19

Rep: Reputation: 0
Help properly configuring DNS (Bind9)


My DNS currently works, meaning that i have the ip address pointing to my boc, but I cannont get the mx to work (i am using gmail as my mail server), and getting errors like:

Getting MX record for mysite.com (from local DNS server, may be cached)... There is no MX record for mysite.com! That's bad.
Checking for an A record... Got it!

also syslogd produces this error:

Jun 10 06:41:28 horus named[12967]: sysquery: nlookup error on ?
Jun 10 06:41:59 horus last message repeated 2 times
Jun 10 06:43:00 horus last message repeated 4 times
Jun 10 06:44:00 horus last message repeated 4 times
Jun 10 06:45:01 horus last message repeated 4 times
Jun 10 06:46:02 horus last message repeated 4 times

Aslo I realized that when I try to restart bind i get no message:
williamp0044@horus:~$ sudo /etc/init.d/bind9 restart
williamp0044@horus:~$


I originally setup bind by following this guide:
http://www.howtoforge.com/howto_bind_chroot_debian


named.conf

mysite.hosts
 
Old 06-11-2006, 12:10 AM   #2
EvilC0P
LQ Newbie
 
Registered: Jun 2006
Location: Montreal
Distribution: Fedora Core 4
Posts: 16

Rep: Reputation: 0
double check your file names.

zone "mysite.com" {
type master;
file "/etc/bind/mysite.com.hosts";
};

and the file name that has the detail of your zone is : mysite.host (it seems, from the mysite.host.txt lfle you upped to ur hosting site)

and this is the beginning of my zone file :

$ORIGIN .
$TTL 86400 ; 1 day
evilhq.com IN SOA linux.evilhq.com. root.linux.evilhq.com. (
2005111938 ; serial
28800 ; refresh (8 hours)
14400 ; retry (4 hours)
3600000 ; expire (5 weeks 6 days 16 hours)
86400 ; minimum (1 day)
)
NS linux.evilhq.com.
A 192.168.1.1
$ORIGIN evilhq.com.
$TTL 43200 ; 12 hours
<then i have my machines <-> Ip details>

a few things differs.. hope my details help you a bit
 
  


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 Server (bind9) works on the private network but not in the public one! wjleon Linux - Networking 26 01-24-2009 08:14 PM
BIND9 slave DNS problem HELP!!! mlu Linux - Networking 2 05-05-2005 06:31 AM
DNS BIND9: Restrict certain entries from being transfered Der_tolle_Emil Linux - Networking 2 12-01-2004 07:43 AM
Suse Linux 9.1 Pro BIND9/DNS server vbat Linux - Newbie 0 10-01-2004 07:20 PM
BIND9 and W2k dhcp clients DNS suffix issue. wasp4141 Linux - Networking 1 04-06-2004 10:56 PM


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