#3 Need to add axfrdns/tcp to /etc/services
Closed: Invalid Opened by pjp.

Hello,

I'm mintainer of the New-DJBDNS fedora package -> http://pjp.dgplug.org/ndjbdns/

'ndjbdns' is a collection of DNS tools. One of these tools is axfrdns(8) zone transfer server. Originally axfrdns(8) used to depend on a xinetd(8) like service called 'tcpserver' for creation of a network socket. I wish to enable the xinetd(8) support for the same via

{{{
$ cat /etc/xinetd.d/axfrdns

default: off

# description: The axfrdns(8) zone transfer server is part of the ndjbdns \

project.

service axfrdns
{
port = 53
protocol = tcp
socket_type = stream
bind = 127.0.0.1
wait = yes
user = daemon
group = daemon
server = /usr/sbin/axfrdns
server_args = -D
disable = yes
flags = IPv4
}

}}}
But when I add this file and restart xinetd(8) service, it exits with an error saying

{{{
... xinetd[1548]: service/protocol combination not in /etc/services: axfrdns/tcp
}}}
I'd appreciate if this combination could be added to the '/etc/services' file in setup.noarch package.

Thank you.


I'm afraid I can't.
I strictly follow IANA reservation for /etc/services and /etc/protocols files - otherwise global IANA reservations wouldn't make much sense. You can probably request alias reservation assignment from them (as 53/tcp is reserved for "domain" service). Other option is to change the axfrdns to use "domain" as the name of the service it searches for.

Metadata Update from @pjp:
- Issue tagged with: ndjbdns

Metadata