updated lib to version which allows localdomain
removed .local regex since it's in lib