View Single Post
  #4  
Old 4th April 2011, 18:11
stigge2000 stigge2000 is offline
Member
 
Join Date: Jul 2006
Posts: 32
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to stigge2000
Default

Hi Falko!

The great news is that i found out that it was BIND that was incorrect,
in the /etc/named.conf i changed the

Quote:
listen-on port 53 { localhost; };
to

Quote:
listen-on port 53 { any; };
and after that all the pieces came together i think.... or atleast it works now.

The only diffrence I can see from my setup, and the setup you wrote in the perfectserver tutorial is that I have a public IP...


but heres the outputs, maybe you can see something strange that i should fix before the server crash :)

(and btw. thx for a great community, and awsome guides)

Quote:
[root@dns1 ~]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 2703/dovecot
tcp 0 0 *:pop3s *:* LISTEN 2703/dovecot
tcp 0 0 localhost.localdomain:10024 *:* LISTEN 2749/amavisd (maste
tcp 0 0 *:wpages *:* LISTEN 2290/rpc.statd
tcp 0 0 localhost.localdomain:10025 *:* LISTEN 2819/master
tcp 0 0 *:mysql *:* LISTEN 2671/mysqld
tcp 0 0 *:pop3 *:* LISTEN 2703/dovecot
tcp 0 0 localhost.local:dyna-access *:* LISTEN 2586/clamd
tcp 0 0 *:imap *:* LISTEN 2703/dovecot
tcp 0 0 *:sunrpc *:* LISTEN 2227/portmap
tcp 0 0 87.237.215.244:domain *:* LISTEN 5920/named
tcp 0 0 dns1.sentig.se:domain *:* LISTEN 5920/named
tcp 0 0 localhost.localdomai:domain *:* LISTEN 5920/named
tcp 0 0 *:ftp *:* LISTEN 2898/pure-ftpd (SER
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 2570/cupsd
tcp 0 0 localhost.localdomain:rndc *:* LISTEN 5920/named
tcp 0 0 *:smtp *:* LISTEN 2819/master
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:56108 ESTABLISHED 2671/mysqld
tcp 0 0 localhost.localdomain:56108 localhost.localdomain:mysql ESTABLISHED 19269/amavisd (ch3-
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:41032 ESTABLISHED 2671/mysqld
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:41033 ESTABLISHED 2671/mysqld
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:41028 ESTABLISHED 2671/mysqld
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:41029 ESTABLISHED 2671/mysqld
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:41030 ESTABLISHED 2671/mysqld
tcp 0 0 localhost.localdomain:41030 localhost.localdomain:mysql ESTABLISHED 20941/trivial-rewri
tcp 0 0 localhost.localdomain:41031 localhost.localdomain:mysql ESTABLISHED 20923/smtpd
tcp 0 0 localhost.localdomain:41028 localhost.localdomain:mysql ESTABLISHED 20926/proxymap
tcp 0 0 localhost.localdomain:41029 localhost.localdomain:mysql ESTABLISHED 20926/proxymap
tcp 0 0 localhost.localdomain:41032 localhost.localdomain:mysql ESTABLISHED 20923/smtpd
tcp 0 0 localhost.localdomain:41033 localhost.localdomain:mysql ESTABLISHED 20923/smtpd
tcp 0 0 dns1.sentig.se:imap h33n2fls301o838.telia:19904 ESTABLISHED 18973/imap
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:41031 ESTABLISHED 2671/mysqld
tcp 0 0 localhost.localdomain:41411 localhost.localdomain:mysql ESTABLISHED 19386/amavisd (ch2-
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:41411 ESTABLISHED 2671/mysqld
tcp 0 0 dns1.sentig.se:imap host-95-192-150-163.m:52563 ESTABLISHED 17212/imap
tcp 0 0 dns1.sentig.se:imap 90-227-8-20:equationbuilder ESTABLISHED 5142/imap
tcp 0 0 dns1.sentig.se:imap host-95-192-150-163.m:53719 ESTABLISHED 17213/imap
tcp 0 0 *:imaps *:* LISTEN 2703/dovecot
tcp 0 0 *:pop3s *:* LISTEN 2703/dovecot
tcp 0 0 *:pop3 *:* LISTEN 2703/dovecot
tcp 0 0 *:imap *:* LISTEN 2703/dovecot
tcp 0 0 *:webcache *:* LISTEN 5020/httpd
tcp 0 0 *:http *:* LISTEN 5020/httpd
tcp 0 0 *:tproxy *:* LISTEN 5020/httpd
tcp 0 0 localhost6.localdoma:domain *:* LISTEN 5920/named
tcp 0 0 *:ftp *:* LISTEN 2898/pure-ftpd (SER
tcp 0 0 *:ssh *:* LISTEN 2557/sshd
tcp 0 0 localhost6.localdomain:rndc *:* LISTEN 5920/named
tcp 0 5740 dns1.sentig.se:ssh 90-227-9-150-no136.tbc:6826 ESTABLISHED 20843/0

Quote:
[root@dns1 ~]# netstat -uap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
udp 0 0 *:cadlock *:* 2290/rpc.statd
udp 0 0 *:notify *:* 2290/rpc.statd
udp 0 0 dns1.sentig.se:40882 nsc1.so.cg.shawc:domain ESTABLISHED 5032/httpd
udp 0 0 87.237.215.244:domain *:* 5920/named
udp 0 0 dns1.sentig.se:domain *:* 5920/named
udp 0 0 localhost.locald:domain *:* 5920/named
udp 0 0 *:40643 *:* 3004/avahi-daemon:
udp 0 0 *:mdns *:* 3004/avahi-daemon:
udp 0 0 *:sunrpc *:* 2227/portmap
udp 0 0 *:ipp *:* 2570/cupsd
udp 0 0 *:sunrpc *:* 2227/portmap
udp 0 0 *:ipp *:* 2570/cupsd
udp 0 0 localhost6.local:domain *:* 5920/named
udp 0 0 *:mdns *:* 3004/avahi-daemon:
udp 0 0 *:55019 *:* 3004/avahi-daemon:

Quote:
[root@dns1 ~]# iptables -L
-bash: iptables: command not found
Reply With Quote