#!/bin/bash
conf='/m23/etc/dns.override'
if [ -f $conf ]
then
	cat $conf
	exit 0
fi

cat /etc/resolv.conf | grep nameserver | tr -s '[:blank:]' | head -n 1 | cut -d' ' -f2 | sed 's/[^0-9.]//g'