jeffsilverm / nbmdt

network boot, monitor, and diagnostic tool
GNU General Public License v2.0
2 stars 0 forks source link

Exception DNSFailure should include more information #12

Closed jeffsilverm closed 6 years ago

jeffsilverm commented 6 years ago

In applications.py, the DNSFailure exception is subclassed from Exception. It should include arguments for the name being looked up and the query family.

jeffsilverm commented 6 years ago

The underlying problem is that I was using the -n switch with ping, which is correct for windows but wrong for linux. It should be -c. I have fixed line 128 in networks.c, and I am closing this ticket, but I am also adding a note to the code.