From: Pieter Lexis Date: Wed, 28 Oct 2015 11:13:01 +0000 (+0100) Subject: docs: add ednssubnet option to sdig.1 X-Git-Tag: dnsdist-1.0.0-alpha1~230^2~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec647ccc6bae93c45b51f5d7ce6fe39855ec4290;p=pdns docs: add ednssubnet option to sdig.1 --- diff --git a/docs/manpages/sdig.1.md b/docs/manpages/sdig.1.md index 1b04ad0f6..4e4d0166f 100644 --- a/docs/manpages/sdig.1.md +++ b/docs/manpages/sdig.1.md @@ -28,3 +28,7 @@ showflags tcp : Use TCP instead of UDP to send the query. + +ednssubnet *SUBNET* +: Send *SUBNET* in the edns-client-subnet option. If this option is not set, + no edns-client-subnet option is set in the query. diff --git a/pdns/sdig.cc b/pdns/sdig.cc index c597385fb..95e9bde2a 100644 --- a/pdns/sdig.cc +++ b/pdns/sdig.cc @@ -24,7 +24,7 @@ try reportAllTypes(); if(argc < 5) { - cerr<<"Syntax: sdig IP-address port question question-type [dnssec] [recurse] [showflags] [hidesoadetails] [tcp] [ednssubnet subnet]\n"; + cerr<<"Syntax: sdig IP-address port question question-type [dnssec] [recurse] [showflags] [hidesoadetails] [tcp] [ednssubnet SUBNET]\n"; exit(EXIT_FAILURE); }