Tiny Deathstars of Foulness

Here’s a quick extension attribute to check for OSX/MaMi. Basically, I’m just looking for one of the two DNS servers that always gets put into the list. From what I’ve seen they always come in pairs.  Below is a gist.
Oh and thanks Katie for noticing my errant space! 😉

January 23rd, 2018

Posted In: JAMF, Mac OS X

  • Maurits Sanders

    I rather juse ‘/usr/sbin/scutil –dns | awk ‘/scoped queries/,/END/{print}’ | awk ‘/nameserver/{print $NF}’ (from mm2270 on jamfnation) for cases where the current connection is not called ‘Wi-Fi’

    • whentheponydies

      Hi @maurits_sanders:disqus. Can you post a link to the article on JAMF nation for that EA from mm2270? I can’t seem to find it.