ADIG(1)
π ADIG(1) β DNS info, but make it cute π
okay so you're in ADIG(1), and the manual name is General Commands Manual β very official, very demure. this page is all about adig, and it's here to print information collected from Domain Name System (DNS) servers. no cap. π¦
πΈ NAME πΈ
adig β print information collected from Domain Name System (DNS) servers. periodt. π
π SYNOPSIS π
adig [@server] [-c class] [-p port#] [-q name] [-t type] [-x addr]
[name] [type] [class] [queryopt...]
β¨ DESCRIPTION β¨
Send queries to DNS servers about name and print the received information, where name is a valid DNS name (e.g. www.example.com, 1.2.3.10.in-addr.arpa). π
This utility comes with the c-ares asynchronous resolver library. π¦
It is possible to specify default arguments for adig via ${XDG_CONFIG_HOME}/adigrc. yes bestie, your fave little config file. π
π ARGS π
@serverβ Server ip address. May specify multiple in comma delimited format. May be specified in URI format. πnameβ Name of the resource record that is to be looked up.typeβ What type of query is required. e.g.A,AAAA,MX,TXT, etc. If not specified,Awill be used. πclassβ Sets the query class, defaults toIN. May also beHSorCH.
π FLAGS π
-cclass β Sets the query class, defaults toIN. May also beHSorCH.-hβ Prints the help. tiny helper moment. π«Ά-pport β Sends query to a port other than53. Often recommended to set the port using@serverinstead.-qname β Specifies the domain name to query. Useful to distinguishnamefrom other arguments.-rβ Skipadigrcprocessing. β¨-sβ Server (alias for@serversyntax), compatibility with old cmdline.-ttype β Indicates resource record type to query. Useful to distinguishtypefrom other arguments.-xaddr β Simplified reverse lookups. Sets the type toPTRand forms a valid in-arpa query string. π₯
πΈ QUERY OPTIONS πΈ
+[no]aaonlyβ Sets theaaflag in the query. Default is off.+[no]aaflagβ Alias for+[no]aaonly.+[no]additionalβ Toggles printing the additional section. On by default.+[no]adflagβ Sets thead(authentic data) bit in the query. Default is off.+[no]aliasesβ Whether or not to honor theHOSTALIASESfile. Default is on.+[no]allβ Toggles all of+[no]cmd,+[no]stats,+[no]question,+[no]answer,+[no]authority,+[no]additional,+[no]comments.+[no]answerβ Toggles printing the answer. On by default.+[no]authorityβ Toggles printing the authority. On by default.+bufsize=#β UDP EDNS 0 packet size allowed. Defaults to1232.+[no]cdflagβ Sets theCD(checking disabled) bit in the query. Default is off.+[no]classβ Display the class when printing the record. On by default.+[no]cmdβ Toggles printing the command requested. On by default.+[no]commentsβ Toggles printing the comments. On by default.+[no]defnameβ Alias for+[no]search.+domain=somenameβ Sets the search list to a single domain.+[no]dns0x20β Whether or not to use DNS 0x20 case randomization when sending queries. Default is off.+[no]edns[=#]β Enable or disable EDNS. Only allows a value of0if specified. Default is to enable EDNS.+[no]ignoreβ Ignore truncation on UDP, by default retried on TCP.+[no]keepopenβ Whether or not the server connection should be persistent. Default is off.+ndots=#β Sets the number of dots that must appear before being considered absolute. Defaults to1.+[no]primaryβ Whether or not to only use a single server if more than one server is available. Defaults to using all servers.+[no]qrβ Toggles printing the request query. Off by default.+[no]questionβ Toggles printing the question. On by default.+[no]recurseβ Toggles theRD(Recursion Desired) bit. On by default.+retry=#β Same as+triesbut does not include the initial attempt.+[no]searchβ To use or not use the search list. Search list is not used by default.+[no]statsβ Toggles printing the statistics. On by default.+[no]tcpβ Whether to use TCP when querying name servers. Default is UDP.+tries=#β Number of query tries. Defaults to3.+[no]ttlidβ Display the TTL when printing the record. On by default.+[no]vcβ Alias for+[no]tcp.
π FILES π
${XDG_CONFIG_HOME}/adigrc
π¦ REPORTING BUGS π¦
Report bugs to the c-ares github issues tracker: https://github.com/c-ares/c-ares/issues π
π SEE ALSO π
Also go peek at ahost(1). π
okay that's the whole page, bestie π«Ά β brought to you by c-ares utilities, dated Sept 2024, and filed under ADIG(1). periodt. π
β¨
π¦ where this page comes from
- alpine 3.22: c-ares-doc 1.34.9-r0 Β· MIT
- alpine 3.23: c-ares-doc 1.34.9-r0 Β· MIT
- alpine 3.24: c-ares-doc 1.34.9-r0 Β· MIT
- arch rolling: c-ares 1.34.9-1 Β· MIT
- nixos 26.05: c-ares 1.34.9
- opensuse-leap 16.0: c-ares-utils 1.34.8-160000.1.1 Β· MIT
- opensuse-leap 16.0: c-ares-utils 1.34.8-160000.1.1 Β· MIT
- opensuse-leap 16.0: c-ares-utils 1.34.8-160000.1.1 Β· MIT
- opensuse-leap 16.0: c-ares-utils 1.34.8-160000.1.1 Β· MIT
- π the page's license: MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms