⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.5
Server IP:
13.127.59.50
Server:
Linux ip-172-31-46-210 5.15.0-1033-aws #37~20.04.1-Ubuntu SMP Fri Mar 17 11:39:30 UTC 2023 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
snap
/
core
/
current
/
etc
/
network
/
if-up.d
/
View File Name :
000resolvconf
#!/bin/sh # # ifup hook script for resolvconf # # This file is part of the resolvconf package. # [ -x /sbin/resolvconf ] || exit 0 case "$ADDRFAM" in inet|inet6) : ;; *) exit 0 ;; esac R="" if [ "$IF_DNS_DOMAIN" ] ; then R="${R}domain $IF_DNS_DOMAIN " fi if [ "$IF_DNS_SEARCH" ] ; then R="${R}search $IF_DNS_SEARCH " fi if [ "$IF_DNS_SORTLIST" ] ; then R="${R}sortlist $IF_DNS_SORTLIST " fi for NS in $IF_DNS_NAMESERVERS ; do R="${R}nameserver $NS " done # Note: arguments of multiple instances of options are separated by newlines set_NS_to_first_arg() { NS="$1" ; } STANDARD_IFS="$IFS" IFS=' ' for OPT in $IF_DNS_NAMESERVER ; do IFS="$STANDARD_IFS" set_NS_to_first_arg $OPT [ "$NS" ] && R="${R}nameserver $NS " done IFS="$STANDARD_IFS" echo -n "$R" | /sbin/resolvconf -a "${IFACE}.${ADDRFAM}" || :