Opened 8 months ago

Last modified 8 months ago

#56297 assigned defect

bind9 @9.12.1_0 does not work on my High Sierra

Reported by: inquil (Carlos Canchaya) Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: bind9

Description (last modified by ryandesign (Ryan Schmidt))

bind9 @9.12.1_0 does not work on my High Sierra, log message is:

network: error: could not listen on UDP socket: permission denied

I rolled back to bind9 @9.12.0_0 and it works with no problem

Change History (5)

comment:1 Changed 8 months ago by raimue (Rainer Müller)

Owner: set to danielluke
Port: bind9 added
Status: newassigned

comment:2 Changed 8 months ago by ryandesign (Ryan Schmidt)

Description: modified (diff)

comment:3 Changed 8 months ago by danielluke (Daniel J. Luke)

How are you starting bind9? That sounds like your 9.12.1 is not being started as root, but 9.12.0 is. Additionally what does your listen-on (and/or listen-on-v6) directive look like in your named.conf file?

comment:4 Changed 8 months ago by inquil (Carlos Canchaya)

Hi,

a) my script for launching it

cat /Library/LaunchDaemons/org.isc.named.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Disabled</key>
        <false/>
        <key>EnableTransactions</key>
        <true/>
        <key>Label</key>
        <string>org.isc.named</string>
        <key>OnDemand</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
                <string>/usr/local/sbin/named</string>
                <string>-f</string>
        </array>
        <key>ServiceIPC</key>
        <false/>
</dict>
</plist>

b) Only this one set

listen-on { any; };

Regards,

Carlos

Last edited 8 months ago by inquil (Carlos Canchaya) (previous) (diff)

comment:5 Changed 8 months ago by danielluke (Daniel J. Luke)

Is your macports prefix set to /usr/local? The default macports prefix is /opt/local but that startup script is trying to run /usr/local/sbin/named. You may also want to verify that when you've stopped bind9 @9.12.0 that nothing has port 53 open (sudo lsof -i :53).

Note: See TracTickets for help on using tickets.