[Dnsmasq-discuss] DNSMasq not using UDP
Piero
ottuzzi at gmail.com
Thu Aug 20 14:10:07 BST 2009
You are so right!
[root at opaplnx23 ~]# netstat -lpn | grep dnsmasq
tcp 0 0 0.0.0.0:53 0.0.0.0:*
LISTEN 6365/dnsmasq
tcp 0 0 :::53 :::*
LISTEN 6365/dnsmasq
udp 0 0 0.0.0.0:53 0.0.0.0:*
6365/dnsmasq
udp 0 0 :::53 :::*
6365/dnsmasq
Sorry for the stupid question.
Thanks
Piero
2009/8/20 Simon Kelley <simon at thekelleys.org.uk>:
> Piero wrote:
>>
>> Hi there,
>>
>> how can I make dnsmasq listen also to UDP? It looks like it is
>> binding on port 53/TCP only but I need it on port 53/UDP.
>>
>> [root at opaplnx23 ~]# cat /etc/redhat-release
>> Red Hat Enterprise Linux Server release 5.2 (Tikanga)
>> [root at opaplnx23 ~]# rpm -qa | grep dnsmasq
>> dnsmasq-2.45-1.el5_2.1
>> [root at opaplnx23 ~]# netstat -tlpn | grep dnsmasq
>> tcp 0 0 0.0.0.0:53 0.0.0.0:*
>> LISTEN 6365/dnsmasq
>> tcp 0 0 :::53 :::*
>> LISTEN 6365/dnsmasq
>>
>> I'm not seeing something obvious?
>>
> Err, you're giving netstat the -t flag, which tells it to show only TCP
> sockets?
>
> thekelleys:/home/srk# netstat -lpn | grep dnsmasq
> tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN
> 11262/dnsmasq
> udp 0 0 0.0.0.0:53 0.0.0.0:* 11262/dnsmasq
> udp 0 0 0.0.0.0:67 0.0.0.0:* 11262/dnsmasq
> udp 0 0 0.0.0.0:69 0.0.0.0:* 11262/dnsmasq
>
>
> That instance is running DHCP and TFTP too, BTW, hence ports 67 and 69.
>
>
> Cheers,
>
> Simon.
>
--
Stupid is as stupid does.
Forrest Gump
More information about the Dnsmasq-discuss
mailing list