dns-sd woes

13 views
Skip to first unread message

Martin Whinnery

unread,
Jan 12, 2017, 4:57:32 AM1/12/17
to Host-sFlow
Hiya.

I'm using sflow heavily, and I'm getting worried about the number of servers I'll need to visit if ever I change the IP address of my sflow collector. I've tried using dns-sd, but I can't get hsflow to pick up collector configuration from dns. I don't know what I'm doing wrong.

I can see (using wireshark) successful dns queries going out and answers coming back. ( sflow agent v 1.23.5 running on server 2012 r2, 64bit ), but nothing actually happens.

I'm guessing it's how I'm configuring DNS. I've attached dig output from another server. Any thoughts?


Happy to be instructed as to how I ought to have asked, or to provide better info...

Regards

Mart

-------------------- snip -------------------

root@hg-sflow-rt:~# dig _sflow._udp.redacted.local ANY

; <<>> DiG 9.8.1-P1 <<>> _sflow._udp.redacted.local ANY
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18914
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;_sflow._udp.redacted.local.                IN      ANY

;; ANSWER SECTION:
_sflow._udp.redacted.local. 3600    IN      TXT     "\"txtvers=1\" \"sampling=250\" \"polling=20\""
_sflow._udp.redacted.local. 3600    IN      SRV     0 0 3123 10.1.3.5.

;; Query time: 2384 msec
;; SERVER: 10.1.2.3#53(10.1.2.3)
;; WHEN: Thu Jan 12 09:54:09 2017
;; MSG SIZE  rcvd: 121


Sonia Panchen

unread,
Jan 12, 2017, 6:42:47 AM1/12/17
to Martin Whinnery, Host-sFlow
Mart,

Can you try stopping the hsflowd service then running it from the command line with the -vv option.

Have you set up a DNSSD_Domain setting for hsflowd http://sflow.net/host-sflow-win-config.php ?

Best regards, 
Sonia Panchen
--
You received this message because you are subscribed to the Google Groups "Host-sFlow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to host-sflow+...@googlegroups.com.
To post to this group, send email to host-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/host-sflow/7054675c-ac76-49bc-bfae-e84e6b6f2996%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages