Hello -
In looking at the bb-hosts man page (DNS Server Test section), I see that the syntax is "dns=hostname" or "dns=TYPE:lookup"... Any way to make it look at a specific DNS server as well? ( i.e. dig @dnsserver hostname )
-- --==[ Bob Gordon ]==--
On Tue, Sep 13, 2005 at 03:57:28AM -0700, Bob Gordon wrote:
In looking at the bb-hosts man page (DNS Server Test section), I see that the syntax is "dns=hostname" or "dns=TYPE:lookup"... Any way to make it look at a specific DNS server as well? ( i.e. dig @dnsserver hostname )
It will always test the DNS server upon which this dns query is defined. E.g. you have two DNS server and you want to check if both of them can resolve "www.kernel.org", so you put this in the bb-hosts file:
10.0.0.1 dns1.foo.com # dns=a:www.kernel.org 10.0.0.2 dns2.foo.com # dns=a:www.kernel.org
The first one sends the request to the dns1 server, the second request goes to the dns2 server. Just like all of the other network tests.
Henrik
On 9/13/05, Henrik Stoerner <henrik at hswn.dk> wrote:
It will always test the DNS server upon which this dns query is defined. E.g. you have two DNS server and you want to check if both of them can resolve "www.kernel.org <http://www.kernel.org>", so you put this in the bb-hosts file:
10.0.0.1 <http://10.0.0.1> dns1.foo.com <http://dns1.foo.com> # dns=a: www.kernel.org <http://www.kernel.org> 10.0.0.2 <http://10.0.0.2> dns2.foo.com <http://dns2.foo.com> # dns=a: www.kernel.org <http://www.kernel.org>
The first one sends the request to the dns1 server, the second request goes to the dns2 server. Just like all of the other network tests.
Thanks -
I was looking at the man page at 3:30 in the morning.. Shows what lack of sleep will do.. :)
-- --==[ Bob Gordon ]==--
On Tue, 2005-09-13 at 03:57 -0700, Bob Gordon wrote:
Hello -
In looking at the bb-hosts man page (DNS Server Test section), I see that the syntax is "dns=hostname" or "dns=TYPE:lookup"... Any way to make it look at a specific DNS server as well? ( i.e. dig @dnsserver hostname )
That's what you are testing... What an individual server is responding.
So, I might have: 0.0.0.0 ns1.example.com # noconn dig=SOA:example.com,SOA:example.net,SOA:example.org,SOA:example.us,TXT:example.com ssh 0.0.0.0 ns2.example.com # noconn dig=SOA:example.com,SOA:example.net,SOA:example.org,SOA:example.us,TXT:example.com ssh
So, here I am testing whether ns1.example.com can return the soa record for all of these various domains, and the same for ns2...
-- Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281 Austin Energy
dan.mcdonald at austinenergy.com
participants (3)
-
dan.mcdonald@austinenergy.com
-
henrik@hswn.dk
-
rgordonjr@gmail.com