Quoting Per Jessen
I have a cron job running every 20 minutes monitoring a temperature sensor for minor changes in trend up/down. This has been running for a few months.
Today at 1521 I got a warning that the trend dad changed to slightly upward. The next one failed on a DNS issue.
The puzzle:
wget -nd http://office20.local.net:4444/--slope--/1.2.3.4/0 --2016-08-12 20:38:24-- http://office20.local.net:4444/--slope--/1.2.3.4/0 Resolving office20.local.net (office20.local.net)... failed: Name or service not known. wget: unable to resolve host address ‘office20.local.net’
So clearly "office20.local.net" does not resolve. Except:
and on my machine, see below. local.net is a real domain name, so how it resolves will be highly implementation dependent. IIRC, Postfix always goes directly to DNS, ignoring /etc/hosts. I use .local for my LAN with 192.168.x.x addresses. So far it hasn't bit me. At the moment, away from my home network, .local does not resolve. IIRC, there is a TLD that is reserved for private networks, maybe .localdomain? HTH, Jeffrey $ dig local.net ; <<>> DiG 9.9.4-rpz2.13269.14-P2 <<>> local.net ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27256 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;local.net. IN A ;; ANSWER SECTION: local.net. 299 IN A 69.172.201.153 ;; Query time: 93 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Fri Aug 12 16:12:51 CDT 2016 ;; MSG SIZE rcvd: 54 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org