smtp only listens on the the tcp protocol, dns listens on both but udp is preferred iirc.
What you need to do next can seem a bit confusing.
goto your ISPs control panel and create name servers for your domain. They should provide this functionality, if not email them, note this is not the same as changing the name servers for your domain.
You need to create a namerserver ie ns1.your-domain.com and use the IP of your router. Then create another one ie ns2.your-domain.com and use the IP of your secondary DNS server, the secondary DNS server can not be the same as the primary. If you do not have a secondary DNS server there are a few websites that provide this service.
Once your name servers have been registered then you need to change the name server that your domain uses, at the minute your domain registrars DNS servers to your newly created name servers. Now you may have up to a 48 hour wait for the changes to take effect.
Then once that is done that should be it
When I did the DNS lookups before it did them on your domains registrar so proved nothing really - I assumed you had allready registered the name servers and changed your domain over to them.
I have done some checks on the IP you gave me that was for your router.
A reverse DNS query gives dialxxx-xxx-xxx-xxx.in-addr.btopenworld.com so that means your using a broadband connection to connect your computer to the internet. Is it a static IP, if it changes every time you connect to the internet then you either need to ask BT for a static IP or call it a day with this project. A static IP is a absolute *must*
I have tried pinging your routers IP and it gave no response, so theres three possibilities - you have your computer/router turned off, your router won't return pings or your router has been reconnected and been given a new IP.
Well nmap gives:
philip@newcastle:~$ nmap -P0 xxx.xxx.xxx.xxx
Starting nmap 3.75 ( http://www.insecure.org/nmap/ ) at 2005-07-22 10:19 BST
Interesting ports on dialxxx-xxx-xxx-xxx.in-addr.btopenworld.com (xxx.xxx.xxx.xxx):
(The 1661 ports scanned but not shown below are in state: filtered)
PORT STATE SERVICE
25/tcp closed smtp
53/tcp open domain
Nmap run completed -- 1 IP address (1 host up) scanned in 501.377 seconds
When I queried your IP for the domain it returned no result, so your DNS server is configured wrongly. I have had no experience with BIND, I did this same project years ago and I used a little DNS server that only served records, no caching or fetching from other servers, etc it was called nsd (name server daemon). So you will have to see someone else about BIND.
smtp is closed, I can only assume you didn't have it running at the time I ran the test or you have it configured to allow no relaying. You need to allow relaying from foreign to local, local to local and local to foreign, but not foreign to foreign.
Don't register the name servers and change your domains name servers until you have the DNS working correctly or your domain will stop working. You should be able to test your own DNS server by `dig @localhost your-domain.com`
I think that should keep you going for a bit, any more questions just ask here and I'll do my best