On Fri, 2015-10-23 at 07:35 +0200, Antonio M wrote:
and then I digget the machines from themselves
--------------------------------------------------------------------------------------------------------------------------
dig -x 192.168.1.3
; <<>> DiG 9.10.2-P4-RedHat-9.10.2-5.P4.fc22 <<>> -x 192.168.1.3
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 55967
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;3.1.168.192.in-addr.arpa. IN PTR
;; AUTHORITY SECTION:
168.192.IN-ADDR.ARPA. 86400 IN SOA 168.192.IN-ADDR.ARPA. . 0
28800 7200 604800 86400
;; Query time: 14 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: ven ott 23 07:29:39 CEST 2015
;; MSG SIZE rcvd: 108
That query went un-answered. The answer would be after the QUESTION
section. The server it asked (192.168.1.1) didn't have any data to give
back to the query.
---------------------------------------------------------------------------------------------------------------------
dig -x 192.168.1.69
;; Warning: Message parser reports malformed message packet.
The malformed warning doesn't sound good.
; <<>> DiG 9.10.2-P4-RedHat-9.10.2-5.P4.fc22
<<>> -x 192.168.1.69
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39386
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;69.1.168.192.in-addr.arpa. IN PTR
;; ANSWER SECTION:
69.1.168.192.in-addr.arpa. 0 IN PTR
Fujiantonio.homenet.telecomitalia.it.
;; Query time: 628 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: ven ott 23 07:27:47 CEST 2015
;; MSG SIZE rcvd: 93
That one did have an answer: Fujiantonio.homenet.telecomitalia.it.
And if DNS is fully working, doing a dig against the name, should come
back with the same IP.
Is that a domain that you own, or has the query gone through to your
ISP? (If 192.168.1.1 didn't know the answer, it can ask further up the
chain.)
If I do a "dig telecomitalia.it" I get a public IP. If you're
shoehorning your LAN into your ISP's domain name, or anybody else's
domain name, you're likely to strike problems.
-------------------------------------------------------------------------------------------------------
digging from laptop to pcdesktop1:
[antonio@Fujiantonio ~]$ dig -x 192.168.1.3
; <<>> DiG 9.10.2-P4-RedHat-9.10.2-5.P4.fc22 <<>> -x 192.168.1.3
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 7666
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;3.1.168.192.in-addr.arpa. IN PTR
;; AUTHORITY SECTION:
168.192.IN-ADDR.ARPA. 86400 IN SOA 168.192.IN-ADDR.ARPA. . 0
28800 7200 604800 86400
;; Query time: 14 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: ven ott 23 07:32:55 CEST 2015
;; MSG SIZE rcvd: 108
------------------------------------------------------------------------------------------------------------------------------
Again, no answer was forthcoming from that DNS server. It won't really
matter where you do the query from (the same PC as the server, or over
your LAN).
What's 192.168.1.1? A computer or a router?
--
tim@localhost ~]$ uname -rsvp
Linux 3.19.8-100.fc20.i686 #1 SMP Tue May 12 17:42:35 UTC 2015 i686
All mail to my mailbox is automatically deleted, there is no point trying
to privately email me, I will only read messages posted to the public lists.
George Orwell's '1984' was supposed to be a warning against tyranny, not
a set of instructions for supposedly democratic governments.