Debian Codegraph @

man/man1/radns.1

raw
1 .\"
2 .\" Argus-5.0 Software
3 .\" Copyright (c) 2000-2024 QoSient, LLC
4 .\" All rights reserved.
5 .\"
6 .\"
7 .TH RADNS 1 "07 October 2023" "radns 5.0.3"
8 .SH NAME
9 \fBradns\fP \- process DNS data from \fBargus(8)\fP data streams / files.
10 .SH SYNOPSIS
11 .B radns
12 [\fBraoptions\fP] [\fB--\fP \fIfilter-expression\fP]
13 .SH DESCRIPTION
14 .IX "radns command" "" "\fLradns\fP \(em DNS transaction argus data"
15 .LP
16 .B Radns
17 reads
18 .BR argus
19 data from an \fIargus-data\fP source, and extracts and tracks DNS transaction
20 data from the argus data records. \fBradns\fP is a flow record labeler, and
21 can be configured to label flow records with the dns names of the \fBsaddr\fP
22 and \fBdaddr\fP addresses seen in the outer IP DSR of flow records. As a
23 result, \fBradns\fP can be a stage in an argus data flow stream, enhancing
24 real-time flow records with DNS metadata.
25
26 .SH OPTIONS
27 Radns, like all ra based clients, supports a number of
28 \fBra options\fP including filtering of input argus
29 records through a terminating filter expression, and the ability
30 to specify the output style, format and contents for printing
31 data. See \fBra(1)\fP for a complete description of \fBra options\fP.
32 \fBradns(1)\fP specific options are:
33 .PP
34 .PD 0
35 .TP 4 4
36 .BI \-M "\| modes\^"
37 Supported modes are:
38 .PP
39 .RS
40 .TP 15
41 .B json
42 Print the DNS transaction data in json format.
43 .RE
44
45 .SH CONFIGURATION
46 \fBradns(1)\fP can be configured using a \fBradns.conf(5)\fP configuration file. See \fBradns.conf(5)\fP
47 for a complete description of \fBradns configuration options\fP.
48
49
50 .SH INVOCATION
51 A sample invocation of \fBradns(1)\fP. This call reads \fBargus(8)\fP data
52 from \fBinputfile\fP and prints the DNS transaction content as it is read from the \fBargus(8)\fP data.
53
54 .nf
55 .ft CW
56 .ps 6
57 .vs 7
58 % radns -R /usr/local/argus/archive/*/en0/2024/02/05/*.05.10.0* -N 1200
59 02/05.05:12:50.506561: AAAA? KitAppTV.local. :
60 02/05.05:14:30.116963: AAAA? qosient.mail.pairserver.com. : SOA pairserver.com. ns1.pair.com. root.pair.com. 2024020506 3600 300 604800 7200
61 02/05.10:01:06.404054: PTR? lb._dns-sd._udp.0.129.37.10.in-addr.arpa. : SOA 10.in-addr.arpa. prisoner.iana.org. hostmaster.root-servers.org. 1 604800 60 604800 604800
62 apophis:argus-clients-5.0 carter$ bin/radns -M json -R /usr/local/argus/archive/*/en0/2024/02/05/*.05.10.0* -N 1250
63 02/05.05:12:50.506561: AAAA? KitAppTV.local. :
64 02/05.05:14:30.116963: AAAA? qosient.mail.pairserver.com. : SOA pairserver.com. ns1.pair.com. root.pair.com. 2024020506 3600 300 604800 7200
65 02/05.10:01:06.404054: PTR? lb._dns-sd._udp.0.129.37.10.in-addr.arpa. : SOA 10.in-addr.arpa. prisoner.iana.org. hostmaster.root-servers.org. 1 604800 60 604800 604800
66 02/05.10:01:45.717174: Type65? init.push.apple.com. : CNAME init.push.apple.com. init.push-apple.com.akadns.net. SOA akadns.net. internal.akadns.net. hostmaster.akamai.com. 1629813934 90000 90000 90000 180
67 02/05.10:01:45.717302: AAAA? init.push.apple.com. : AAAA init.push-apple.com.akadns.net. 2620:149:208:430a::4[28],2620:149:208:430e::4[28],2620:149:208:430c::4[28],2620:149:208:430b::4[28],2620:149:208:430d::4[28] CNAME init.push.apple.com. init.push-apple.com.akadns.net.
68 02/05.10:01:45.717432: A? init.push.apple.com. : A init.push-apple.com.akadns.net. 17.188.179.2[16],17.188.178.2[16],17.188.178.226[16],17.188.178.34[16],17.188.143.158[16],17.188.143.157[16],17.188.179.34[16],17.188.143.187[16] CNAME init.push.apple.com. init.push-apple.com.akadns.net.
69 02/05.10:01:45.736437: Type65? init.push-apple.com.akadns.net. : SOA akadns.net. internal.akadns.net. hostmaster.akamai.com. 1629813934 90000 90000 90000 180
70
71 .fi
72
73 A sample invocation of \fBradns(1)\fP. This call reads \fBargus(8)\fP data
74 from \fBinputfile\fP and uses the -q option to suppress DNS transaction reporting.
75 \fBradns(1)\fP caches its DNS server, clients and transaction data in memory, and
76 when finished reading data, resolve queries about the data.
77
78 In this example, it reads a days of data and looks up references to a specific DNS
79 query, printing its output as json data.
80
81 .nf
82 .ft CW
83 .ps 6
84 .vs 7
85 % radns -M json -R /usr/local/argus/archive/*/en0/2024/02/05 -qM search:qosient.com.
86 { "name":"qosient.com.", "ref":"3", "stime":"1707147521","ltime":"1707183149", "addr":[ "216.92.14.146" ], "server":[ "2603:7000:c00:b053:ea9f:80ff:fe85:5cc5" ], "client":[ "2603:7000:c00:b053:987f:ad32:81c:e70f", "2603:7000:c00:b053:f9f2:6d70:ff9c:48d7" ] }
87 .vs
88 .ps
89 .ft P
90 .fi
91
92 .SH COPYRIGHT
93 Copyright (c) 2000-2024 QoSient. All rights reserved.
94 .SH SEE ALSO
95 .BR radns.conf(5),
96 .BR ra(1),
97 .BR rarc(5),
98 .BR argus(8),
99 .SH FILES
100
101 .SH AUTHORS
102 .nf
103 Carter Bullard ([email protected]).
104 .fi
105 .SH BUGS