| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/dns/gdnsd3/ |
Upload File : |
[
{ type: install
message: <<EOM
As of version 3.0.0, gdnsd no longer has the ability to bind to
privileged ports and then drop privileges. As a result, you must use
mac_portacl to allow the gdnsd user to bind to 53 udp/tcp.
Please execute the following commands to prep this system to run gdnsd:
echo "# required for gdnsd3">>/boot/loader.conf.local
echo 'mac_portacl_load="YES"' >>/boot/loader.conf.local
echo 'accf_dns_load="YES"' >>/boot/loader.conf.local
echo 'accf_data_load="YES"' >>/boot/loader.conf.local
echo "# required for gdnsd3">>/etc/sysctl.conf.local
echo "security.mac.portacl.suser_exempt=1">>/etc/sysctl.conf.local
echo "security.mac.portacl.port_high=1023">>/etc/sysctl.conf.local
echo "net.inet.ip.portrange.reservedlow=0">>/etc/sysctl.conf.local
echo "net.inet.ip.portrange.reservedhigh=0">>/etc/sysctl.conf.local
echo "security.mac.portacl.rules=uid:179:udp:53,uid:179:tcp:53">>/etc/sysctl.conf.local
Then, either reboot or run the following commands to implement the above
changes:
kldload mac_portacl
kldload accf_dns
kldload accf_data
service sysctl reload
EOM
}
]