File: README.md

package info (click to toggle)
xmpp-dns 0.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 152 kB
  • sloc: makefile: 11
file content (74 lines) | stat: -rw-r--r-- 2,156 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# xmpp-dns

A CLI tool to check XMPP SRV records.

## installation

### repositories including xmpp-dns

[![Packaging status](https://repology.org/badge/vertical-allrepos/xmpp-dns.svg)](https://repology.org/project/xmpp-dns/versions)

### manual installation

Latest release:

```
go install salsa.debian.org/mdosch/xmpp-dns@latest
```

Current development version:

```
go install salsa.debian.org/mdosch/xmpp-dns@master
```

The binary will be in your `$GOBIN` (usually
`~/go/bin/`).

### binaries

There are some (automatically built and untested) binaries linked to the
[release](https://salsa.debian.org/mdosch/xmpp-dns/-/releases).

## usage

```
Usage: xmpp-dns [-46cfstv] [--dot] [--help] [--no-color] [--resolver value] [--timeout value] [--tls-version value] [--version] [parameters ...]
 -4              Resolve IPv4.
 -6              Resolve IPv6.
 -c, --client    Show client SRV records.
     --dot       Use DoT.
 -f, --fallback  Check fallback (Standard ports on A/AAAA records) if no SRV
                 records are provided.
     --help      Show help.
     --no-color  Don't colorize output.
     --resolver=value
                 Custom resolver e.g. "1.1.1.1" for common DNS or
                 "5.1.66.255#dot.ffmuc.net" for usage with "--dot".
 -s, --server    Show server SRV records.
 -t              Test connection and certificates.
     --timeout=value
                 Connection timeout in seconds. [60]
     --tls-version=value
                 Minimal TLS version. 10 (TSLv1.0), 11 (TLSv1.1), 12
                 (TLSv1.2) or 13 (TLSv1.3). [12]
 -v              Resolve IPs.
     --version   Show version information.
```

## screenshot

[![xmpp-dns screenshot](https://salsa.debian.org/mdosch/xmpp-dns/-/raw/master/img/screenshot.png)](https://salsa.debian.org/mdosch/xmpp-dns/-/raw/master/img/screenshot.png)

### shell completion

#### zsh

There are no shell completions yet (contributions welcome) but for zsh it is possible to autom
atically create completions from `--help` which might work *good enough*.

Just place the following in your `~/.zshrc` or `~/.zshrc.local`:

``` bash
compdef _gnu_generic xmpp-dns
```