summaryrefslogtreecommitdiff
path: root/nocompile/bin/rdns
blob: 347e41609ced7c1aebf60cfcd2c699ba37005672 (plain) (blame)
1
2
#!/bin/sh
dig +short -x "$1" | head -n1 | rev | tail -c+2 | rev