Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th November 2011, 23:29
mjnet mjnet is offline
Member
 
Join Date: Nov 2011
Posts: 44
Thanks: 2
Thanked 2 Times in 1 Post
Default DNS entries on Amazon EC2 Ubuntu 11.1

Hi there!

I used the Multiserver Tutorial for my Amazon Environment (Ubuntu 11.1). Now got some DNS trouble.

In my opinion the bind services can not do any entries in named.conf-files with ispconfig.

Check out jobqueue:
Code:
2011-11-13 21:08 	ns1.codag.net 	Update 	dns_rr 	
2011-11-13 21:08 	ns1.codag.net 	Update 	dns_soa 	
2011-11-13 21:06 	ns1.codag.net 	Update 	dns_rr 	
2011-11-13 21:06 	ns1.codag.net 	Update 	dns_soa
I added 2 dns zones "codag.net" and another one. Entries in db tables are ok!
But in /etc/bind are just following files:
Code:
bind.keys                 db.255                    db.root                   named.conf.local          slave/                                        
db.0                      db.empty                  named.conf                named.conf.options        zones.rfc1918                                 
db.127                    db.local                  named.conf.default-zones  rndc.key
And as you can see in named.conf.options
Code:
  Graph this data and manage this system at https://landscape.canonical.com/                                                                          
options {
        directory "/var/cache/bind";

        // If there is a firewall between you and nameservers you want
        // to talk to, you may need to fix the firewall to allow multiple        // ports to talk.  See http://www.kb.cert.org/vuls/id/800113

        // If your ISP provided one or more IP addresses for stable
        // nameservers, you probably want to use them as forwarders.
        // Uncomment the following block, and insert the addresses replacing
        // the all-0's placeholder.

        // forwarders {
        //      0.0.0.0;
        // };
        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
};
That can't be right!?

Seems like there couldn't be made any zone-files?!
Does anybody had allready the same problem?

Thank you for help!
Marc
Reply With Quote
Sponsored Links
  #2  
Old 14th November 2011, 00:14
mjnet mjnet is offline
Member
 
Join Date: Nov 2011
Posts: 44
Thanks: 2
Thanked 2 Times in 1 Post
Default

here the printscreent from my records
Name:  Bildschirmfoto 2011-11-13 um 23.08.54.png
Views: 322
Size:  35.0 KB

ns1.codag.net -> *.*.173.157

ping codag.net -> *.*.173.157
ping web.codag.net -> *.*.173.157
Reply With Quote
  #3  
Old 14th November 2011, 11:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Please check if your ISPConfig server is authoritative for your domain. You can find that out by running
Code:
dig ns yourdomain.com
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 14th November 2011, 21:49
mjnet mjnet is offline
Member
 
Join Date: Nov 2011
Posts: 44
Thanks: 2
Thanked 2 Times in 1 Post
Default

As you can see, entries are set:
Code:
mb0:~ Marc$ dig ns codag.net

; <<>> DiG 9.7.3-P3 <<>> ns codag.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43713
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;codag.net.                     IN      NS

;; ANSWER SECTION:
codag.net.              86367   IN      NS      ns2.codag.net.
codag.net.              86367   IN      NS      ns1.codag.net.

;; ADDITIONAL SECTION:
ns1.codag.net.          86367   IN      A       107.22.173.157
ns2.codag.net.          86367   IN      A       107.22.173.157

;; Query time: 15 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Mon Nov 14 20:41:01 2011
;; MSG SIZE  rcvd: 95
At the moment i use just 1 dns server. -> 107.22.173.157

This problem should be ok now. But the main problem is still "alive". Jobqueue is still full and dns couldn't be done in /etc/bind...
Reply With Quote
  #5  
Old 15th November 2011, 09:56
mjnet mjnet is offline
Member
 
Join Date: Nov 2011
Posts: 44
Thanks: 2
Thanked 2 Times in 1 Post
Default

Thanks for help so far! but does anybody have further ideas?..

Are there any specific system rights to be customize? setted up servers couple of times!
Reply With Quote
  #6  
Old 15th November 2011, 10:03
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,749
Thanks: 840
Thanked 5,601 Times in 4,412 Posts
Default

Most likely a problem with mysql permissions. Have you set the IP addresses and FQDN hostnames as described in the multiserver tutorial in the /etc/hosts files of all servers that belong to the cluster? Setting them in dns is not sufficient as mysql authentication will fail then.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 15th November 2011, 10:49
mjnet mjnet is offline
Member
 
Join Date: Nov 2011
Posts: 44
Thanks: 2
Thanked 2 Times in 1 Post
Default

hi till
yes i've set fqdn and ip's like it's described in tutorial.

But of corse I should try connection from dns to db. Can you tell me how i can see the way the dns connects to the db-server? i there a specific ispconfig config-file?
Reply With Quote
  #8  
Old 15th November 2011, 11:53
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,749
Thanks: 840
Thanked 5,601 Times in 4,412 Posts
Default

You can find the login details for the master database in the file /usr/local/ispconfig/server/lib/config.inc.php (dont mix up with local login details which are in the same file) on the slave server.

Use this login details to connect from the slave to the master with the mysql command. example:

mysql -h masterhostname -u ispmasteruser -p ispmasterdbname
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
mjnet (15th November 2011)
  #9  
Old 15th November 2011, 14:25
mjnet mjnet is offline
Member
 
Join Date: Nov 2011
Posts: 44
Thanks: 2
Thanked 2 Times in 1 Post
Default

unfortunately i dont have ssh access from my office.
but as you can in phpmyadmin dns_rr entries are set:
Name:  dnsrr.jpg
Views: 357
Size:  69.7 KB

can we say thats a certificate that dns->db works? or can we just say master(web)->db works?
it doesnt make sense when we think to the update dns_rr jobqueue entry :S
Reply With Quote
  #10  
Old 15th November 2011, 14:31
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,749
Thanks: 840
Thanked 5,601 Times in 4,412 Posts
 
Default

Is this the databse of the slave or the master? If thats the local mysql DN on the slave, then this means that the mysql connection works. if its the master db, then this does not indicate anything for the slave.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
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
Ubuntu 10.10+ISPConfig dns problem tbctr Installation/Configuration 9 19th December 2010 15:34
Mail and DNS troubles with ISPconfig 3 in Ubuntu 10.04 hakimus HOWTO-Related Questions 11 16th June 2010 15:56
Problem send/receive Courier+Postfix+Squirrelmail Pirk Installation/Configuration 2 21st May 2010 14:26
Ubuntu + Bind9 Reverse DNS partial Class C twink_dakid Server Operation 13 16th October 2008 21:38
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 15:40


All times are GMT +2. The time now is 16:19.


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