#1  
Old 18th January 2008, 16:05
captnops captnops is offline
Junior Member
 
Join Date: Jan 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Question Dns & Ispconfig

I am working on setting up my BIND server, and was having some trouble. I can get to my sites for domain http:// ww.justoutboards.com, but I cannot send mail to that domain from the server.

Perfect ubuntu 7.10 server w/ispconfig.

Do I do all the DNS administration from within ispconfig, or do I still do all DNS work through bind?

Thank you
Reply With Quote
Sponsored Links
  #2  
Old 18th January 2008, 16:24
zetnsh zetnsh is offline
Senior Member
 
Join Date: Aug 2007
Posts: 111
Thanks: 8
Thanked 5 Times in 5 Posts
 
Default

I recently found that for some reason I had to create the file /var/named/chroot/etc/named.conf because ISPConfig didn't create it during setup (which it ought to have done I think!)

For ref, I just put this data in it:

Code:
options {
        pid-file "/var/named/chroot/var/run/named/named.pid";
        directory "/var/named/chroot/var/named";
        auth-nxdomain no;
        /*
         * 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 * port 53;
};

//
// a caching only nameserver config
//
zone "." {
        type hint;
        file "named.ca";
};

zone "0.0.127.in-addr.arpa" {
        type master;
        file "named.local";
};
Then restart bind:
Code:
/etc/init.d/named restart
I found I could then manage DNS zones entirely within ISPConfig, although by default it doesn't create the MX record for you, which is necessary for your server to receive mail for the domain in question.

To do that, you simply need to create a new MX record from within the DNS entry page for that domain/zone within ISPConfig. Leave Hostname blank, leave the Priority at 10 (if you have several MX records, the lowest priority hosts receive mail first), then put the internet name of your server in the Mailserver box.

To test it, run this command as root from the box in question, replacing mydomain.com with your domain of course...

Code:
dig @localhost mx mydomain.com
Hope that helps somewhat,

Neil
Reply With Quote
The Following User Says Thank You to zetnsh For This Useful Post:
falko (19th January 2008)
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New to ISPConfig, external DNS management crayz1 Installation/Configuration 12 9th October 2007 22:53
DNS Question ISPConfig and IIS Win2003 Web madmucho General 2 9th October 2007 10:01
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
DNS managment in ISPConfig BenWara General 4 18th June 2007 12:10
need other server DNS for ispconfig?? dalmain Server Operation 3 11th July 2006 15:08


All times are GMT +2. The time now is 15:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.