View Issue Details

IDProjectCategoryView StatusLast Update
0001234Anope Development (1.9.x series)Otherpublic2011-01-22 06:03
Reporterjwing Assigned ToAdam  
Status resolvedResolutionfixed 
Summary0001234: Name Server specification too rigid in DNS module
DescriptionIn config.cpp, the portion of the code (line 358) which searches for the nameserver line in a resolver file (default /etc/resolf.conf) expects a space after the nameserver text. However, the spec for a resolv.conf file allows for any white space. As such, tabs cause the code to not find the nameserver line. Technically, it doesn't even say it must be a single white space character.
Steps To Reproduceuse /etc/resolv.conf for your nameserver and then specify the nameserver line with intermediate tab(s) as the separator between it and the IP.
TagsNo tags attached.



2011-01-22 06:03

administrator   ~0005730

Thanks, fixed in a162f1d18e1807a4d6e6fc8bf1535f946d0c6440 and 7c30d223fb42d7e1df1c2c0106e978877497dcd5.

Issue History

Date Modified Username Field Change
2011-01-21 23:34 jwing New Issue
2011-01-22 06:03 Adam Note Added: 0005730
2011-01-22 06:03 Adam Status new => resolved
2011-01-22 06:03 Adam Resolution open => fixed
2011-01-22 06:03 Adam Assigned To => Adam