Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2005 19:21:32 -0500
From:      Benjamin Dover <dawgeestyle@gmail.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   named error in /var/log/messages
Message-ID:  <5ae9cd55050215162155544e5@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I am running fBSD 5.3 Release.  I get this message repeated in
/var/log/messages

Feb 15 17:27:09 w00f named[317]: omitting IPv4 interface xl1 from
localnets ACL: address mask not contiguous
Feb 15 18:27:09 w00f named[317]: omitting IPv4 interface xl1 from
localnets ACL: address mask not contiguous

I though I could stop it by removing the IP of that interface from the
listen argument in /var/named/etc/namedb/named.conf

// If named is being used only as a local resolver, this is a safe default.
// For named to be accessible to the network, comment this option, specify
// the proper IP address, or delete this option.
        listen-on     { 127.0.0.1; 192.168.1.110; 2xx.195.187.218;
2xx.195.187.219; };
                                                       |              
                |                           |
                                                     dc0              
           xl0                        fxp0
  
w00f# sockstat -4l
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
www      httpd      56137 3  tcp46  *:80                  *:*
www      httpd      55446 3  tcp46  *:80                  *:*
root     inetd      593   4  tcp4   *:21                  *:*
root     perl       544   5  tcp4   *:10000               *:*
root     perl       544   6  udp4   *:10000               *:*
www      httpd      543   3  tcp46  *:80                  *:*
www      httpd      542   3  tcp46  *:80                  *:*
www      httpd      541   3  tcp46  *:80                  *:*
www      httpd      540   3  tcp46  *:80                  *:*
www      httpd      539   3  tcp46  *:80                  *:*
root     oidentd    511   6  tcp4   *:113                 *:*
root     httpd      491   3  tcp46  *:80                  *:*
root     sendmail   440   3  tcp4   *:25                  *:*
root     sendmail   440   6  tcp4   *:587                 *:*
root     sshd       435   3  tcp4   192.168.1.110:22      *:*
root     sshd       435   4  tcp4   2xx.195.187.218:22     *:*
root     ntpd       414   4  udp4   *:123                 *:*
root     ntpd       414   7  udp4   2xx.195.187.218:123    *:*
root     ntpd       414   8  udp4   192.168.1.110:123     *:*
root     ntpd       414   10 udp4   2xx.195.187.244:123    *:*
root     ntpd       414   12 udp4   2xx.195.187.219:123    *:*
root     ntpd       414   14 udp4   127.0.0.1:123         *:*
bind     named      317   20 udp4   2xx.195.187.218:53     *:*
bind     named      317   21 tcp4   2xx.195.187.218:53     *:*
bind     named      317   22 udp4   192.168.1.110:53      *:*
bind     named      317   23 tcp4   192.168.1.110:53      *:*
bind     named      317   24 udp4   2xx.195.187.219:53     *:*
bind     named      317   25 tcp4   2xx.195.187.219:53     *:*
bind     named      317   26 udp4   127.0.0.1:53          *:*
bind     named      317   27 tcp4   127.0.0.1:53          *:*
bind     named      317   28 udp4   *:55145               *:*
bind     named      317   30 tcp4   127.0.0.1:953         *:*
root     syslogd    303   7  udp4   *:514                 *:*
root     dhclient   243   4  udp4   *:68                  *:*

RC.CONF

# -- sysinstall generated deltas -- # Sun Feb  6 21:23:23 2005#
# Created: Sun Feb  6 21:23:23 2005
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
blanktime="1200"
hostname="w00f.XXXXXXXX.net"
ifconfig_xl0="DHCP"
inetd_enable="YES"
linux_enable="YES"
moused_enable="YES"
named_enable="YES"
saver="daemon"
sendmail_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
named_chrootdir="/var/named"
named_chroot_autoupdate="YES"
syslogd_enable="YES"
enable_quotas="YES"
check_quotas="NO"
webmin_enable="YES"
ntpd_enable="YES"
ntpdate_flags="none"
ntpdate_enable="NO"
oidentd_enable="YES"
apache2_enable="YES"

ifconfig_fxp0="inet 2xx.195.187.219 netmask 255.255.255.0"
ifconfig_xl1="inet 2xx.195.187.244 netmask 2xx.195.191.255"
ifconfig_dc0="inet 192.168.1.110 netmask 255.255.255.0"

I realize my rc.conf is a little abnormal.  When I signed up for
premium service at my ISP I learned I gained extra IP addresses.  I
have cable so they have to be gained through a switch.  I could not
configure more than one interface with DHCP so I had to use the above
last few lines to obtain the IP's.  I didnt tell named to listen on
xl1 so why is named giving an error and filling up my messages log? 
How can I correct the error?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ae9cd55050215162155544e5>