ipchains can not forward dns resolve but pure ip forward success

Dear all, i configure the ipchains so as to act as gateway, the ip has been forward sucessful, however, any dns resolove are block in this gateway,could any one tell my how to make it as normal gateway for a lan accessing internel, the dns.