@Test
public void defaultValueReturnedIfNdotsNotPresent() throws IOException {

    File f = buildFile("search localdomain\n" +
                       "nameserver 127.0.0.11\n");
    assertEquals(DEFAULT_NDOTS, parseEtcResolverFirstNdots(f));
}