The question is vague but allowing access to your DNS server from the
internet can be just as hazardous as allowing internet access to any server.
Get a good firewall and set it up properly, depending on what services you
are going to allow access makes a difference on your exposure, the more
holes you have open the higher the risk.