Changeset 13915 in hybrid


Ignore:
Timestamp:
Jun 13, 2017, 8:19:04 PM (8 years ago)
Author:
rick
Message:

The nameservers online are in front of the list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/files/tools/nameserver-shuffle

    r13914 r13915  
    6767
    6868  # Update unbound forwarders list
    69   unbound-control forward $(grep 'nameserver' /etc/resolv.conf | grep -v '127.0.0.1' | awk '{print $2}' | tail -3 )
     69  unbound-control forward $(awk '/^nameserver 172/ {print $2}' /etc/resolv.conf | head -3)
    7070fi
Note: See TracChangeset for help on using the changeset viewer.