Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: destroyedlolo on November 11, 2022, 09:06:52 AM
-
Hello,
I installed and started avahi on my system, then modified /etc/nsswitch.conf as
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
Which is the configuration working on my Gentoo boxes.
But, unfortunately, I can't resolve local machines :
tc@GrosSVG1:/etc$ nslookup pset.local
Server: 192.168.0.3
Address 1: 192.168.0.3
nslookup: can't resolve 'pset.local'
tc@GrosSVG1:/etc$ avahi-resolve-host-name pset.local
PSet.local 2a01:e0a:2dc:e160:3a9f:f869:eb10:e1f8
In addition, I don't understand why it got IPv6 IP whereas I did disabled it >:(
Add use-ipv6=no
in /usr/local/etc/avahi/avahi-daemon.conf
Thanks for your tips
-
It seems it's normal for nslookup with is querying only "normal dns" and doesn't take in account nsswitch.
But ping doesn't work as well :
ping pset.local
ping: bad address 'pset.local'