Skip to main content

Thread: Request feedback on my implementation of a DNS server


hi,

wanted setup dns server, wich uses database, , write web frontend move dns entries everydns.net own server.

intention wouldn't have migrate website's dns entries in future, if free dns service, such everydns decides wants charge, means need move entries elsewhere if continue want dns entries free of (impudent) charges.

unfortunately, there issues:
1. bind9 requires recompilation use mysql , postgre sql. means won't having security updates.
2. bind pestered dns-sec keys, , wouldn't work without it. when generated pair, said invalid. (before, key generator crashed when wanted create 4096 bit dh key, had go standard 256 bit crap failed, too).
3. doesn't support else mysql , postgre (i'd use firebird !)
4. there doesn't exist real alternative bind9.
5. things c , java tend not offer interfaces c#

in short, after spending 3 hours trying configure bind9 yesterday evening, got mad @ whoever wrote , documented crap, decided easier , faster write own dns server.

it's basic dns server, implementing lookup , nothing more. request arrives, database searched, if match, valid response returned, else response server error.

since dns server pretty dangerous thing...
wanted ask third opinion on code wrote.

put thing online, or not ?
lack feature lead site being inaccessible others ?
, importantly, spots security bug ?


programming language: c#
required .net framwork version: 4.0
required mono-version: 2.10.2
operating system: windows + linux (+works everywhere there mono 2.10.2 , libc.so in path + firebird server installed)
database: ms-sql + firebird, extensible, creates database + tables automagically.

database configuration resides yet in
easydns\easydns\dal\cdatabaseconfiguration.cs

still have add ability use xml configuration file.
@ moment, configuration compiled is:

code:
database: firebird (2.5) server: localhost port: 3050 user: sysdba password: masterkey
(don't worry, changed default password on server)

i don't have feedback on actual code & program per se, however:

1. bind9 requires recompilation use mysql , postgre sql. means won't having security updates.
nor own custom program. subscribing mailing list hell of lot easier doing you're doing.

also, have looked @ powerdns? supports multiple of backends, including mysql, postgresql, sqlite , many more.

tbh, running own dns server not wise because don't have redundancy. happens if own server goes down? host website? run linode, apart offering great vps service, offers me 5 dns servers in 5 different locations @ no cost.

don't mean negative post, making sure you're aware of you're letting self into.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Request feedback on my implementation of a DNS server


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support