Extract DNS handler