diff --git a/load/01-basic b/load/01-basic index 83baab3..71b5728 100644 --- a/load/01-basic +++ b/load/01-basic @@ -69,4 +69,9 @@ gip () { gpip () { curl https://ipv4.nsupdate.info/myip -} \ No newline at end of file +} + + +dip () { +/bin/drill $1 | grep -A1 'ANSWER SECTION' | grep -v "ANSWER SECTION" | rev | cut -f1 | rev +}