[Dnsmasq-discuss] resolve subdomains / name-based vhosts

go4unkwn at hushmail.com go4unkwn at hushmail.com
Sun Apr 15 16:29:43 BST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello all

the question i have isn't dnsmasq specific, but i hope in this
forum are a lot of dns cracks (i call me a newbie).

i hav a dyndns account for my dynamic ip, so that i can reach my
home lan from the internet. i also have a registered domain.

futher i can create in my dyndns account cnames for subdomains.
examples:

- - foo1.mydomain.org
- - foo2.mydomain.org
- - foo2.mydomain.org

what i have in mind is to run an apache2 server using name-based
vhosts for a school. example:

- - foo1.mydomain.org
- - foo2.mydomain.org
- - foo3.mydomain.org

now my question is, when a studend uses for example
foo1.mydomain.org in his browser, could the browser find my name-
based vhost (all vhost are behind the same router (wan-ip), or do i
have to configure for each vhost a different port.

the router runs dnsmasq. does dnsmasq have to find out which
subdomain leads to the wan-ip? or is there another possibility to
find out, which subdomain leads to the wan-ip?

any hint is welcome.

kind regards, go4unwkn.
-----BEGIN PGP SIGNATURE-----
Charset: UTF8
Version: Hush 3.0
Note: This signature can be verified at https://www.hushtools.com/verify

wpwEAQMCAAYFAk+K6WcACgkQYr9Phlyi5dQN1QP+PqCsZ9lKW5YgaGIN6GcNLPoXimEn
pNIRZN0Nck7pQAX4Pi9lTN3tDw+zPCNibreVujkKrPrzV3xlpBQFAbquDu+DvLoMPEZu
Gav4uuOF0vX/hHp4lfSQHRwcUOrKoPoA5plEh4J4kduRSJjCaLPSK7lv5vABc8qOQEcn
hFPpP1w=
=ctkW
-----END PGP SIGNATURE-----




More information about the Dnsmasq-discuss mailing list