trying to get domain name parsing to work
Full implementation. Ready for testing
permission
Merge branch 'master' into ian