Info required on IPv4 only DIG utility ...

Gajanana Dixit Gajanana.Dixit at wipro.com
Mon Jan 16 05:25:23 UTC 2006


Hi Holger,

Thanks for your reply.

My requirement is slightly different. I have the underlying socket library
which doesn't understands the new IPv6 calls like getaddrinfo() etc, but
which understands the only calls to gethostbyname() and gethostbyaddr() etc.
If I run this DIG utility ( with mentioned switch) on the system where the
new DNS is running, I will get an unresolved call references to
getaddrinfo() and other calls.

Do let me know if any other previous DIG utility overcomes this problem.
 

Thanks & Regards
Gajanana Dixit



-----Original Message-----
From: Holger Honert [mailto:holger.honert at signal-iduna.org] 
Sent: Friday, January 13, 2006 3:39 PM
To: Gajanana.Dixit at wipro.tcpn.com
Cc: comp-protocols-dns-bind at isc.org
Subject: Re: Info required on IPv4 only DIG utility ...

Hi Gajanana,

just use it with the switch -4 (see man-page):

NAME
       dig - DNS lookup utility

SYNOPSIS
       dig  [ @server ]  [ -b address ]  [ -c class ]  [ -f filename ]  
[ -k file­
       name ]  [ -p port# ]  [ -t type ]  [ -x addr ]  [ -y name:key ]  
[ -4 ]   [
       -6 ]  [ name ]  [ type ]  [ class ]  [ queryopt... ]

[snip]

       The -4 option forces dig to only use IPv4 query transport.  The  
-6  option
       forces dig to only use IPv6 query transport.

[snip]

Regards

Holger


Gajanana Dixit schrieb:
> Hello,
>  
>
> I have the requirement where the DIG utility needs to run only on IPv4
stack
> (No IPv6 stack is required).
>
> If anyone aware of this, please let me know from where I can download this
> pure V4 DIG utility.
>
>  
>
> Thanks in advance
>
> Gajanana Dixit
>
>  
>
>
>
>
>
>
>   



More information about the bind-users mailing list