lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] mDNS strange behavior using "dig"


From: Erik Ekman
Subject: Re: [lwip-users] mDNS strange behavior using "dig"
Date: Tue, 17 Apr 2018 14:43:25 +0200

Do you see anything on the device with IP_DEBUG?
Make sure that your netif doesn't filter multicast packets.

/Erik

On 17 April 2018 at 12:04, antonio <address@hidden> wrote:
Hi All,

I have a small problem.
I am sending queries to my MDNS REsponder using *dig*. However, the behavior
is strange to me

1) dig @10.10.0.10 -p5353 myssh._ssh._tcp.local srv, HERE I get a correct
answer. 

PROBLEM
2)dig @224.0.0.251 -p5353 myssh._ssh._tcp.local srv HERE I GET
NOTHING..Timeout. 

I use the last command to query a MDNS service on other machine and I get an
answer..

Am I missing something? Why when MCAST addr is specified my service does not
respond ?

Logs..
dig @10.10.0.10 -p5353 myssh._ssh._tcp.local  srv

CORRECT...
; <<>> DiG 9.10.3-P4-Ubuntu <<>> @10.10.0.10 -p5353 myssh._ssh._tcp.local
srv
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53108
;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;myssh._ssh._tcp.local.         IN      SRV

;; ANSWER SECTION:
myssh._ssh._tcp.local.  3600    IN      SRV     0 0 22 lwip.local.

;; ADDITIONAL SECTION:
lwip.local.             3600    IN      A       10.10.0.10

;; Query time: 27 msec
;; SERVER: 10.10.0.10#5353(10.10.0.10)
;; WHEN: Tue Apr 17 12:03:25 CEST 2018
;; MSG SIZE  rcvd: 116


TIMEOUT..
dig @224.0.0.251 -p5353 myssh._ssh._tcp.local  srv

; <<>> DiG 9.10.3-P4-Ubuntu <<>> @224.0.0.251 -p5353 myssh._ssh._tcp.local
srv
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached





--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]