configuring dns and dhcp

hello

i am running my sipx server in 192.168.2.14

i would like to configure domain name and host name for this .....

can anyone tell me how to configure dns server and dhcp server so that any body both outside and inside the lan could access the sipx server by their host.domain.com name

Do you mean the "inside" LAN has only hosts with IPs like "192.168.x.x" while the "outside" LAN has normal, canonical addresses (anything BUT 192.168.x.x and 10.x.x.x)??

If so, you set up two instances of your DNS server (and two configuration files, two cache directories, etc). One DNS server listens on the "inside" IP (192.168.2.14), while the other listens on the default IP (0.0.0.0) -- which means the outside world. Your configure your "inside" DNS server so that all queries to it concerning your domain(s) will be answered with 192.168.x.x addresses. All other queries are forwarded to the DNS service running on the other IP.

No change is needed to the DHCP server, except maybe (if you hadn't already done this) that the clients receive information that their DNS server should be the one on 192.168.x.x.