Issue #17. Fixed dns always false condition because of range.