def get_resolv_dns():
result = []<EOL>try:<EOL><INDENT>for line in open('<STR_LIT>', '<STR_LIT:r>'):<EOL><INDENT>if line.startswith('<STR_LIT>'):<EOL><INDENT>result.append(line.strip().split('<STR_LIT:U+0020>')[<NUM_LIT:1>])<EOL><DEDENT><DEDENT><DEDENT>except FileNotFoundError:<EOL><INDENT>pass<EOL><DEDENT>return result<EOL>
Returns the dns servers configured in /etc/resolv.conf