Server IP : 49.212.180.16 / Your IP : 3.135.224.139 Web Server : Apache System : FreeBSD www2606.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 User : utannto ( 1076) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/libexec/hyperv/ |
Upload File : |
#!/bin/sh # This script parses /etc/resolv.conf to retrive DNS information. # Khe kvp daemon code invokes this external script to gather # DNS information. # This script is expected to print the nameserver values to stdout. #if test -r /etc/resolv.conf #then # awk -- '/^nameserver/ { print $2 }' /etc/resolv.conf #fi cat /etc/resolv.conf 2>/dev/null | awk '/^nameserver/ { print $2 }'