On Mon, 9 Jun 2014 13:27:21 +0400, Reco wrote:
Weird. Just weird. Try it like this:
1) Start as root:
/usr/sbin/tcpdump -nn -i any udp port 53 or udp port 5353
2) Run mpc in another shell.
3) Please post the contents of your /etc/nsswitch.conf
Nothing really happens in the tcpdump window when I run mpc, and the
strace from mpc is the same as I posted in the previous email.
$ sudo /usr/sbin/tcpdump -nn -i any udp port 53 or udp port 5353
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 65535
bytes
07:21:38.107587 IP 127.0.0.1.54697 > 127.0.0.1.53: 5034+ A?
r.usyncapp.com. (32)
07:21:38.107679 IP 127.0.0.1.59934 > 127.0.0.1.53: 5034+ A?
r.usyncapp.com. (32)
07:21:38.107729 IP 127.0.0.1.33801 > 127.0.0.1.53: 5034+ A?
r.usyncapp.com. (32)
07:21:38.107776 IP 127.0.0.1.60126 > 127.0.0.1.53: 5034+ A?
r.usyncapp.com. (32)
07:21:48.119928 IP 127.0.0.1.33260 > 127.0.0.1.53: 11163+ A?
r.usyncapp.com. (32)
07:21:48.120056 IP 127.0.0.1.47878 > 127.0.0.1.53: 11163+ A?
r.usyncapp.com. (32)
07:21:48.120097 IP 127.0.0.1.56108 > 127.0.0.1.53: 11163+ A?
r.usyncapp.com. (32)
07:21:48.120119 IP 127.0.0.1.54904 > 127.0.0.1.53: 11163+ A?
r.usyncapp.com. (32)
^C
8 packets captured
16 packets received by filter
0 packets dropped by kernel
$ mpc
error: Failed to resolve host name
$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5395aaf4.4040...@gmail.com