I am quite interested in one thing. I am trying to code my dns server that when i connect to one of my subdomains it connects not only to an ip adress but to an ip : port adress.
For this i tried using SRV record, but with lack of success.
Dns server specification:
OS Ubuntu server 10.10 and using bind9
I have configured everything so that my subdomains work on an ip address, but i need some of them to work on ip : port too.
in my brfconcept.lv.db file i used: (what i mentioned below isn't the full content of the file)
Code:
_http._udp IN SRV 0 5 27017 testing.brfconcept.lv
testing IN A 83.99.211.134
in my rev.0.168.192.in-addr.arpa i used: (what i mentioned below isn't the full content of the file)
Code:
134 IN PTR testing.brfconcept.lv
What i would want is not just for 1 service to aim at at the 27017 port but all services if its possible, when you enter testing.brfconcept.lv Is that possible and what am i doing wrong?
Any suggestion towards this would help!