View Single Post
  #1  
Old 26th April 2010, 05:35
axtoxic107 axtoxic107 is offline
Junior Member
 
Join Date: Apr 2010
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default change bind9 port

Hello,

When i restart my bind9 i face this message

Code:
Apr 26 03:01:32 imagezza named[1872]: loading configuration from '/etc/bind/named.conf'
Apr 26 03:01:32 imagezza named[1872]: max open files (1024) is smaller than max sockets (4096)
Apr 26 03:01:32 imagezza named[1872]: using default UDP/IPv4 port range: [1024, 65535]
Apr 26 03:01:32 imagezza named[1872]: using default UDP/IPv6 port range: [1024, 65535]
Apr 26 03:01:32 imagezza named[1872]: listening on IPv6 interfaces, port 53
Apr 26 03:01:32 imagezza named[1872]: listening on IPv4 interface lo, 127.0.0.1#53
Apr 26 03:01:32 imagezza named[1872]: could not listen on UDP socket: address in use
Apr 26 03:01:32 imagezza named[1872]: creating IPv4 interface lo failed; interface ignored
Apr 26 03:01:32 imagezza named[1872]: listening on IPv4 interface venet0, 127.0.0.1#53
Apr 26 03:01:32 imagezza named[1872]: could not listen on UDP socket: address in use
Apr 26 03:01:32 imagezza named[1872]: creating IPv4 interface venet0 failed; interface ignored
Apr 26 03:01:32 imagezza named[1872]: listening on IPv4 interface venet0:0, 184.82.19.178#53
Apr 26 03:01:32 imagezza named[1872]: could not listen on UDP socket: address in use
Apr 26 03:01:32 imagezza named[1872]: creating IPv4 interface venet0:0 failed; interface ignored
Apr 26 03:01:32 imagezza named[1872]: listening on IPv4 interface venet0:1, 184.82.19.179#53
Apr 26 03:01:32 imagezza named[1872]: could not listen on UDP socket: address in use
Apr 26 03:01:32 imagezza named[1872]: creating IPv4 interface venet0:1 failed; interface ignored
So i decided to run nmap and see the port 53 in action.
Here are result of it.

Code:
PORT     STATE SERVICE    VERSION
21/tcp   open  ftp        ProFTPD 1.3.1
22/tcp   open  ssh         (protocol 2.0)
53/tcp   open  tcpwrapped
80/tcp   open  http       Apache httpd 2.2.9 ((Debian) PHP/5.2.6-1+lenny8 with S                                                                             uhosin-Patch)
3306/tcp open  mysql      MySQL (Host blocked because of too many connections)
5901/tcp open  vnc        VNC (protocol 3.8)
6001/tcp open  X11         (access denied)
So as we cn see 53/tcp port is already open for another process "tcpwrapped"..

How can i change my bind9 to run on another port? I dont know "tcpwrapped" process. So how can i stop it or run it on another port?

Thanks
Reply With Quote
Sponsored Links