add DNS and HTTP support