dotfiles/bin/fqdn

4 lines
66 B
Plaintext
Raw Permalink Normal View History

2019-12-23 10:18:54 +01:00
#!/bin/bash
echo $1
dig +short -x $1 | tr '[:upper:]' '[:lower:]'