asdig-0.0.97(1)

NAME
asdig - retrieve efficiently routing informations via dns queries.

SYNOPSIS
asdig [-rezopole] [-cymru] IPv4 | IPv6 | ASxxxx [ ... IP | AS ... ] asdig [-rezopole] [-cymru] [-suffixv4=my.ipv4.suffix.com] [@IP.ref.ser.ver] [-suffixv6=my.ipv6.suffix.net] IP | ASxxxxx [ ... IP | AS### ... ] [-d | --debug]

DESCRIPTION
for each IP or AS listed as argument, asdig performs a dns query to a reference dns server that provides matchings from IP-addresses to Autonomous Systems. For a given IPv4 or IPv6 it would display current BGP anouncements received at the BGP-infrastructure of the queried IP-to-AS reference server, or Internet Exchange Point (IXP) subnets from PeeringDB, or reserved subnets from Internet Assigned Numbers Authority (IANA). For a given ASnumber it would display a digest of the registered informations from Regional Internet Registries (RIR).

OPTIONS

  -rezopole
use the reference servers from Rezopole/LyonIX. (default)

  -cymru
use the reference servers from Team CYMRU.

  -suffix4=fqdn.suffix.tld
set the suffix appended of the dns-reversed IPv4 address for querying the reference servers. (default : origin.asn.rezopole.net.)

  -suffix6=fqdn.suffix.tld
set the suffix appended of the dns-reversed IPv6 address for querying the reference servers. (default : origin6.asn.rezopole.net.)

  @ww.xx.yy.zz
set the IPv4 where to query in dns format for maching informations instead of reference servers.

  "-d" " | " "--debug"
output the dns queries performed for retrieving informations.

  "--help"
display a small usage-help reminder.

OUTPUT
The output format is the content of the dns-supplied TXT answers for the query. Those values are consistant with original Team CYMRU format, enriched with additional regional fields at the end.

RETURNED VALUES
asdig returns 1 (error) whenever a DNS error occured such as unreachable server, bad query, failure to respond. For any valid DNS answer, even empty, 0 (success) is returned.

SEE ALSO
(1)hosts, (1)ns-lookup, (1)dig, (1)whois

BUGS
There may have any, please submit them to sysadm@rezopole.net

AUTHOR
Jean-Daniel Pauget (jdpauget@rezopole.net) et Al.

MANPAGE VERSION
0.0.97