dotfiles/bin/fqdn

4 lines
66 B
Bash
Executable File

#!/bin/bash
echo $1
dig +short -x $1 | tr '[:upper:]' '[:lower:]'