Hongyi Zhao
2015-10-08 02:15:52 UTC
Hi Simon,
I want to do the domain name resolve redirection as follows:
fonts.googleapis.com-------------->fonts.lug.ustc.edu.cn
ajax.googleapis.com--------------->ajax.lug.ustc.edu.cn
themes.googleusercontent.com------>google-themes.lug.ustc.edu.cn
fonts.gstatic.com----------------->fonts-gstatic.lug.ustc.edu.cn
In detail, when I query the ip for domain "fonts.googleapis.com", then
I want to let dnsmasq to redirect this query for giving me the query
result of domain "fonts.lug.ustc.edu.cn". And so on.
Considering the the `address=' method will only assign the static
address for the specific domains, I don't want to use the following
method for my case:
address=/fonts.googleapis.com/the-ip-of-fonts.lug.ustc.edu.cn
Is it possiable for me to the trick with dnsmasq?
Reards
I want to do the domain name resolve redirection as follows:
fonts.googleapis.com-------------->fonts.lug.ustc.edu.cn
ajax.googleapis.com--------------->ajax.lug.ustc.edu.cn
themes.googleusercontent.com------>google-themes.lug.ustc.edu.cn
fonts.gstatic.com----------------->fonts-gstatic.lug.ustc.edu.cn
In detail, when I query the ip for domain "fonts.googleapis.com", then
I want to let dnsmasq to redirect this query for giving me the query
result of domain "fonts.lug.ustc.edu.cn". And so on.
Considering the the `address=' method will only assign the static
address for the specific domains, I don't want to use the following
method for my case:
address=/fonts.googleapis.com/the-ip-of-fonts.lug.ustc.edu.cn
Is it possiable for me to the trick with dnsmasq?
Reards
--
Hongyi Zhao <***@gmail.com>
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493
Hongyi Zhao <***@gmail.com>
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493