This file is indexed.

/etc/ppp/ip-up.d/000resolvconf is in resolvconf 1.67.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
#
# PPP up hook script for resolvconf
#
# Reconfigures resolver to take into account
# the appearance of the ppp interface.
#
# This file is part of the resolvconf package.
#

[ -x /sbin/resolvconf ] || exit 0

case "$6" in
  nm-pptp-service-*)
    # NetworkManager handles it
    exit 0
    ;;
esac

R=""
if [ "$DNS1" ] ; then
	R="${R}nameserver $DNS1
"
fi
if [ "$DNS2" ] ; then
	R="${R}nameserver $DNS2
"
fi

echo -n "$R" | /sbin/resolvconf -a "${PPP_IFACE}.pppd"