exposing DNSPort and DirPort