progress report:
i have been working on this on and off through out the day and i have found an example of a dns server written in visual basic
( a windows programming language )
the basic example ( unmodified from the original code ) basically is a cache-ing dns server ( for those of you who dont know, basically the program maintains a cache of all requested ip addresses, and it it does not have it ( the ip address ) it asks another dns server )
so far i have managed to, write a bit of the code to insert a false ip into the cache, and get a windows client to read this false information properly, however the ip address in the cache is stored in a strange way.
each octet is represented by a letter, decoding the letters is not a problem, its re-encoding them that causes problems.
i have also made a database connection to a mysql database to extract name and ip address information.
so basically i am half way there, its just inserting the values of the users ip information directly from the database into the cache, and i can knock up the web page that will enter the ip address into the database in five or so minutes.
i would hope fully like to release this code ( visual basic bit ) as an example, however i need to ask the person who wrote the example first before i can put it up any where.
its also a sort of good example of building a dns packet, i may learn somthing from this yet
when this is done and working i would like to port it to linux as a small project.
( please tell me your thoughts on converting a visual basic program to linux too )