Professional Web Applications Themes

named error in /var/log/messages - FreeBSD

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 ...

  1. #1

    Default named error in /var/log/messages

    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.XX.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?
    Benjamin Dover Guest

  2. #2

    Default named error in /var/log/messages

    Re: freebsd-questions Digest, Vol 88, Issue 54
    > Message: 4
    > Date: Tue, 15 Feb 2005 19:21:32 -0500
    > From: Benjamin Dover <dawgeestyle>
    > Subject: named error in /var/log/messages
    > 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
    [..]
    > w00f# sockstat -4l
    > USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
    [..]
    > 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 *:*
    > RC.CONF
    [..]
    > ifconfig_fxp0="inet 2xx.195.187.219 netmask 255.255.255.0"
    > ifconfig_xl1="inet 2xx.195.187.244 netmask 2xx.195.191.255"
    'address mask not contiguous' ie contiguous one bits from the left.
    > 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?
    It's not clear from this where the .218 address shown by sockstat comes
    from, or which interface it's assigned to? Maybe I've pruned too much?
    'ifconfig -au' would be informative. Anyway ..

    Assuming fxp0 with address .219 is the A address of host w00f on a /24
    net as indicated by the fxp0 netmask, then you shouldn't have another
    interface on that subnet except as a /32 (single IP address), though
    apparently not an alias as such, being on another interface.

    I'm not clear how this works through your switch, but try xl1 (.244)
    with a 255.255.255.255 (0xffffffff) netmask. Then when you tell named
    which addresses to bind to it'll be dealing with addresses it can find.

    Cheers, Ian

    Ian Smith Guest

Similar Threads

  1. Multiple Error Messages, starting With 500 null Error
    By chickenloaf in forum Coldfusion Server Administration
    Replies: 1
    Last Post: June 22nd, 07:56 PM
  2. Replies: 1
    Last Post: November 13th, 12:46 PM
  3. Replies: 0
    Last Post: November 10th, 05:24 PM
  4. Error message XObject named '3'
    By Kinga_Dow@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 0
    Last Post: July 27th, 10:21 PM
  5. Error Checking and Error Messages in Forms
    By Boris Nogoodnik in forum Microsoft Access
    Replies: 2
    Last Post: August 1st, 09:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139