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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 21st December 2007, 13:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

Can you try this?
Code:
mkdir -p /var/lib/named/var/lib/named
cd /var/lib/named/var/lib/named
ln -s ../../../ var
__________________
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
Sponsored Links
  #12  
Old 24th December 2007, 14:55
kdclaver kdclaver is offline
Member
 
Join Date: Nov 2006
Posts: 51
Thanks: 0
Thanked 2 Times in 2 Posts
Red face

Hello Falko,
I want you to apologize for the delayed response. I had no access to my server. It is set now. Here are the results (below):

debian:~# mkdir -p /var/lib/named/var/lib/named
debian:~# cd /var/lib/named/var/lib/named/
debian:/var/lib/named/var/lib/named# ln -s ../../../ var
debian:/var/lib/named/var/lib/named#
debian:/var/lib/named/var/lib/named# /etc/init.d/bind9 restart
Stopping domain name service...: bind.
Starting domain name service...: bind.
debian:/var/lib/named/var/lib/named#

------- @ --------

debian:/var/lib/named/var/lib/named# host -a debian
Trying "debian.dpi-arobasetelecom.ci"
Trying "debian"
;; connection timed out; no servers could be reached
debian:/var/lib/named/var/lib/named# host -a debian.dpi-arobasetelecom.ci
Trying "debian.dpi-arobasetelecom.ci"
Host debian.dpi-arobasetelecom.ci not found: 2(SERVFAIL)
Received 46 bytes from 192.168.2.1#53 in 0 ms
debian:/var/lib/named/var/lib/named#

As you can see there is no error in the execution of commands. Unfortunately DNS always seems not to turn.

Thanks more for your help
Reply With Quote
  #13  
Old 25th December 2007, 17:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

What's the output of
Code:
netstat -tap
? Any errors in /var/log/syslog?
__________________
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
  #14  
Old 26th December 2007, 09:38
kdclaver kdclaver is offline
Member
 
Join Date: Nov 2006
Posts: 51
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Hello Falko,
below the outputs of netstat -tap and /var/log/syslog

debian:~# netstat -tap
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name
tcp 0 0 localhost.localdom:2208 *:* LISTEN 2546/hpiod
tcp 0 0 localhost.localdo:mysql *:* LISTEN 2634/mysqld
tcp 0 0 *:sunrpc *:* LISTEN 2217/portmap
tcp 0 0 *:auth *:* LISTEN 2906/inetd
tcp 0 0 localhost.localdo:60433 *:* LISTEN 2549/python
tcp 0 0 *:ftp *:* LISTEN 3120/proftpd: (acce
tcp 0 0 debian.dpi-aroba:domain *:* LISTEN 2503/named
tcp 0 0 localhost.locald:domain *:* LISTEN 2503/named
tcp 0 0 *:43831 *:* LISTEN 3063/rpc.statd
tcp 0 0 localhost.localdoma:ipp *:* LISTEN 2820/cupsd
tcp 0 0 *:smtp *:* LISTEN 2968/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 2503/named
tcp 0 0 debian.dpi-arobas:35874 80.231.19.73:www ESTABLISHED3386/firefox-bin
tcp 0 0 debian.dpi-arobas:35873 80.231.19.73:www ESTABLISHED3386/firefox-bin
tcp 0 0 debian.dpi-arobas:33799 ik-in-f17.google.co:www ESTABLISHED3386/firefox-bin
tcp 0 0 debian.dpi-arobas:50295 www.howtoforge.com:www TIME_WAIT -
tcp 0 0 debian.dpi-arobas:50303 www.howtoforge.com:www TIME_WAIT -
tcp 0 0 debian.dpi-arobas:50302 www.howtoforge.com:www TIME_WAIT -
tcp 0 0 debian.dpi-arobas:50306 www.howtoforge.com:www TIME_WAIT -
tcp 0 0 debian.dpi-arobas:50312 www.howtoforge.com:www TIME_WAIT -
tcp 0 0 debian.dpi-arobas:56181 213.200.111.145:www ESTABLISHED3386/firefox-bin
tcp 0 0 debian.dpi-arobas:45254 b2.data.vip.re2.yah:www TIME_WAIT -
tcp6 0 0 *:imaps *:* LISTEN 2778/couriertcpd
tcp6 0 0 *op3s *:* LISTEN 2797/couriertcpd
tcp6 0 0 *op3 *:* LISTEN 2783/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 2766/couriertcpd
tcp6 0 0 *:www *:* LISTEN 3168/apache2
tcp6 0 0 *:domain *:* LISTEN 2503/named
tcp6 0 0 *:ssh *:* LISTEN 2997/sshd
tcp6 0 0 *:smtp *:* LISTEN 2968/master
tcp6 0 0 ip6-localhost:953 *:* LISTEN 2503/named
tcp6 0 0 *:https *:* LISTEN 3168/apache2


debian:~# tail -f /var/log/syslog
Dec 26 07:30:01 debian anacron[3955]: Anacron 2.3 started on 2007-12-26
Dec 26 07:30:01 debian anacron[3955]: Normal exit (0 jobs run)
Dec 26 07:38:26 debian ntpd[3087]: no servers reachable
Dec 26 07:39:01 debian /USR/SBIN/CRON[4179]: (root) CMD ( [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec 26 07:49:09 debian ntpd[3087]: synchronized to 196.25.1.1, stratum 2
Dec 26 08:03:52 debian postfix/qmgr[2985]: 073D25A691: from=<>, size=2430, nrcpt=1 (queue active)
Dec 26 08:03:52 debian postfix/smtp[4800]: 073D25A691: to=<root@debian.dpi-arobasetelecom.ci>, relay=none, delay=174203, delays=174203/0.29/0.03/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=debian.dpi-arobasetelecom.ci type=MX: Host not found, try again)
Dec 26 08:09:01 debian /USR/SBIN/CRON[4931]: (root) CMD ( [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec 26 08:17:01 debian /USR/SBIN/CRON[5136]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Dec 26 08:33:41 debian -- MARK --

As you can see there is no error concerning bind9 in syslog.

Thanks more for your help
Reply With Quote
  #15  
Old 26th December 2007, 14:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

Bind seems to be running ok. Did you create a record for debian.dpi-arobasetelecom.ci?
Can you try
Code:
dig @localhost debian.dpi-arobasetelecom.ci
?
__________________
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
  #16  
Old 26th December 2007, 20:50
kdclaver kdclaver is offline
Member
 
Join Date: Nov 2006
Posts: 51
Thanks: 0
Thanked 2 Times in 2 Posts
Unhappy

Hello Falko,
These are the output and the content of the differents configuration files.

debian:~# dig @localhost debian.dpi-arobasetelecom.ci

; <<>> DiG 9.3.4 <<>> @localhost debian.dpi-arobasetelecom.ci
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 4689
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;debian.dpi-arobasetelecom.ci. IN A

;; Query time: 25 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Dec 26 19:45:35 2007
;; MSG SIZE rcvd: 46

debian:~# cat /etc/bind/named.conf.local
//
// Do any local configuration here
//
zone "dpi-arobasetelecom.ci" {
type master;
file "/var/lib/named/var/cache/bind/db.dpi";
};

zone "2.168.192.in-addr.arpa" {
type master;
file "/var/lib/named/var/cache/bind/db.192";
};
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

debian:~#
debian:~# cat /var/lib/named/var/cache/bind/db.dpi
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA debian.dpi-arobasetelecom.ci. root.dpi-arobasetelecom.ci. (
2007121201 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS debian.dpi-arobasetelecom.ci.
@ IN MX 10 mail.dpi-arobasetelecom.ci.

debian IN A 192.168.2.1

mail IN CNAME debian
www IN CNAME debian
ftp IN CNAME debian
sql IN CNAME debian
crm IN CNAME debian
wkg IN CNAME debian
debian:~#
debian:~# cat /var/lib/named/var/cache/bind/db.192
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA debian.dpi-arobasetelecom.ci. root.dpi-arobasetelecom.ci. (
2007121201 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS debian.dpi-arobasetelecom.ci.

1 IN PTR debian.dpi-arobasetelecom.ci.
debian:~#

Thanks more for your help.
Reply With Quote
  #17  
Old 28th December 2007, 01:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
 
Default

Looks ok...
__________________
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
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
Reverse DNS + SPF and ISPConfig as my DNS Server yurtboy1 General 1 6th November 2007 09:15
The Perfect Setup - Debian Woody (3.0)... sending mail from my XP box? ExCIA HOWTO-Related Questions 17 27th June 2007 18:31
ISPconfig on debian ETCH provell Installation/Configuration 15 23rd January 2007 10:02
The Perfect Xen 3.0 Setup For Debian - Root-NFS: No NFS server available, giving up. finn HOWTO-Related Questions 13 7th November 2006 17:51
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


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


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