On 25/02/2019 14.55, Stefan Vater wrote:
Hi Carlos,
Here is the output:
linux:/home/user # cat /etc/resolv.conf | egrep -v "^[[:space:]]*$|^#" search localdomain nameserver 192.168.0.1 nameserver fe80::1%enp0s31f6
First thing to check is that 192.168.0.1 resolves. Try: host -v google.com 192.168.0.1 I have my doubts about that IPv6 nameserver. Test it. I don't know the IPv6 address of my router, so I try against a local machine, and after opening the firewall, it works (before, I got timeout): cer@Telcontar:~> host google.es fe80::4ecc:6aff:fe61:50a1%eth0 ;; connection timed out; no servers could be reached cer@Telcontar:~> Message in the firewall:
<0.4> 2019-02-25T16:07:58.738832+01:00 Isengard kernel - - - [4900477.127385] SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=4c:cc:6a:61:50:a1:00:21:85:16:2d:0b:86:dd SRC=fe80:0000:0000:0000:0221:85ff:fe16:2d0b DST=fe80:0000:0000:0000:4ecc:6aff:fe61:50a1 LEN=75 TC=0 HOPLIMIT=64 FLOWLBL=401697 PROTO=UDP SPT=57025 DPT=53 LEN=35
So I do know it is reaching the correct machine. Now: cer@Telcontar:~> host google.es fe80::4ecc:6aff:fe61:50a1%eth0 Using domain server: Name: fe80::4ecc:6aff:fe61:50a1%eth0 Address: fe80::4ecc:6aff:fe61:50a1%2#53 Aliases: google.es has address 216.58.201.131 google.es has IPv6 address 2a00:1450:4003:80a::2003 google.es mail is handled by 30 alt2.aspmx.l.google.com. google.es mail is handled by 20 alt1.aspmx.l.google.com. google.es mail is handled by 50 alt4.aspmx.l.google.com. google.es mail is handled by 40 alt3.aspmx.l.google.com. google.es mail is handled by 10 aspmx.l.google.com. cer@Telcontar:~>
linux:/home/user # cat /etc/host.conf | egrep -v "^[[:space:]]*$|^#" order hosts, bind multi on
It is correct.
Somehow your script for getting English messages does not work for me...
Did you flag it executable? -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)