Re: Is it possible to set a ddns hostname to access a name-based virtual host?
Hi, Is it possible to set a ddns hostname, say through http://www.changeip.net/ , without using *some_domain* itself, to access this file? http://www.changeip.net/ Not entirely sure what you are actually trying to achieve. Could you provide a concrete example of the situations you are trying to achieve? If you wan't the file to be accessible through multplile hosts (differentaited through the host header, you need to configure the webserver to handle these names. If you wan't a hostname to be updated automatically when the server IP address changes, you need to configure the approriate service to connect to the ddns service. If you want specifics about the ddns service provider, you should ask them. From changeip.net: Dynamic DNS gives you the ability to redirect your domain name to anywhere at any time. Why wait 3 days for your ISP to update their DNS records when you can do it yourself, in seconds. Get your free name now and it will be working within 5 minutes! Hope this helps. Regards, Serge Fonville ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re[2]: Is it possible to set a ddns hostname to access a name-based virtual host?
On Friday, February 20, 2009 at 19:51, serge.fonvi...@gmail.com wrote: Hi, Is it possible to set a ddns hostname, say through http://www.changeip.net/ , without using *some_domain* itself, to access this file? Not entirely sure what you are actually trying to achieve. Could you provide a concrete example of the situations you are trying to achieve? Let me give an example to illustrate my problem: In the following url, the prola.aps.org is a name-based virtual host: http://prola.aps.org/pdf/PRB/v1/i1/p1_1 On the other hand, my institute has subscribed to prola and many other journals, so I want to use some self-made and easy-to-memory hostnames for each of them. For example, I want to use the following url to access the above one: http://myprola.myddns.org/pdf/PRB/v1/i1/p1_1 Is this possible? Regards, -- Hongyi Zhao hongyi.z...@gmail.com Xinjiang Technical Institute of Physics and Chemistry Chinese Academy of Sciences GnuPG DSA: 0xD108493 2009-2-20 ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Re[2]: Is it possible to set a ddns hostname to access a name-based virtual host?
Let me give an example to illustrate my problem: In the following url, the prola.aps.org is a name-based virtual host: http://prola.aps.org/pdf/PRB/v1/i1/p1_1 On the other hand, my institute has subscribed to prola and many other journals, so I want to use some self-made and easy-to-memory hostnames for each of them. For example, I want to use the following url to access the above one: http://myprola.myddns.org/pdf/PRB/v1/i1/p1_1 Is this possible? You can specify a domainalias for every virtualhost in the apache configuration (other http servers should support similar functionality) This has nothing to do with DNS since all dns does is translate the hostname you type in to an IP address the computer uses to connect to. Every http request contains a 'host' header that is used by the webserver to determine the documentroot to serve. Hope this helps. Regards, Serge Fonville ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re[4]: Is it possible to set a ddns hostname to access a name-based virtual host?
On Friday, February 20, 2009 at 22:15, serge.fonvi...@gmail.com wrote: Let me give an example to illustrate my problem: In the following url, the prola.aps.org is a name-based virtual host: http://prola.aps.org/pdf/PRB/v1/i1/p1_1 On the other hand, my institute has subscribed to prola and many other journals, so I want to use some self-made and easy-to-memory hostnames for each of them. For example, I want to use the following url to access the above one: http://myprola.myddns.org/pdf/PRB/v1/i1/p1_1 Is this possible? You can specify a domainalias for every virtualhost in the apache configuration (other http servers should support similar functionality) I cann't figure it out. I only have a web client such as ie or firefox to access the above url? Do you mean that I must setup a local webserver, say by using apache to do that thing? Regards, -- Hongyi Zhao hongyi.z...@gmail.com Xinjiang Technical Institute of Physics and Chemistry Chinese Academy of Sciences GnuPG DSA: 0xD108493 2009-2-20 ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: [OT] Is it possible to set a ddns hostname to access a name-based virtual host?
This is actually off topic for BIND-users... hongyi.z...@gmail.com wrote: On Friday, February 20, 2009 at 19:51, serge.fonvi...@gmail.com wrote: Hi, Is it possible to set a ddns hostname, say through http://www.changeip.net/ , without using *some_domain* itself, to access this file? Not entirely sure what you are actually trying to achieve. Could you provide a concrete example of the situations you are trying to achieve? Let me give an example to illustrate my problem: In the following url, the prola.aps.org is a name-based virtual host: http://prola.aps.org/pdf/PRB/v1/i1/p1_1 On the other hand, my institute has subscribed to prola and many other journals, so I want to use some self-made and easy-to-memory hostnames for each of them. For example, I want to use the following url to access the above one: http://myprola.myddns.org/pdf/PRB/v1/i1/p1_1 I fail to see how the later is more easy-to-memory than the former, but... Is this possible? Generally, no. Virtual hosting involves setting, in almost all cases, a unique document root for each virtual host. If you reference a file or location via a URI that uses a different hostname, then it either matches a different virtual host, or matches the default virtual host, but in either case the document root is almost certainly different, and thus the relative path (/pdf/PRB/v1/i1/P1_1 in your case) almost certain does not translate to the correct absolute path to get the right file or get you to the right generator, whatever the location references and/or triggers to send back content. You *must* reference the location using the same URI if you expect to see the same expected results. Regards, Mike PS: There are other maintenance problems with your approach too, but you avoid those by just not even trying to do what you asked. -- Michael Milligan - mi...@acmeps.com ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Is it possible to set a ddns hostname to access a name-based virtual host?
Hongyi Zhao wrote: Hi all, Suppose a file named file.pdf stored in the following web location: http://some_domain/path/to/file.pdf Where, the *some_domain* is a name-based virtual host. In this case, is it possible to set a ddns hostname, say through http://www.changeip.net/, without using *some_domain* itself, to access this file? DNS can only control what IP address the client connects to. It doesn't have any effect on the Host: header that is sent in the HTTP request, and that's what a webserver uses to identify the target site, in a named-based virtual hosting context. I think you want to use a proxy with URL-rewriting capability. SQUID seems to be capable of this. Possibly some browser add-on might have a URL-rewriting capability too, haven't looked into that. - Kevin ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Question re separating caching and authoritative servers
In message d6e873fbd84699096e9d6cf291634...@cornell.edu, John Wobus writes: What are the good ways to let your local caching server serve your own site's data even after a caching-server reboot during an Internet outage? If the caching server locates your own authoritative data through normal delgation channels, and cannot reach the roots and TLDs, then your own local clients could be unable to resolve names of local servers, etc. Any especially good or bad practices? Things that have worked well or poorly? Right now, I'm leaning toward having the caching server transfer key zones. That's reasonable. The other alternative is to set up stub zones which short circuit the resolution process. John Wobus -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: mark_andr...@isc.org ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Exiting due to early fatal error
Lars Hecking wrote: BIND 9.4.3-P1, Solaris 8 I'm trying to get a chroot setup to work following the instructions here http://www.boran.com/security/sp/bind9_20010430.html # /usr/sbin/named -g -t /var/named/chroot 17-Feb-2009 12:05:56.789 starting BIND 9.4.3-P1 -g -t /var/named/chroot 17-Feb-2009 12:05:56.790 found 2 CPUs, using 2 worker threads 17-Feb-2009 12:05:56.793 ./main.c:506: unexpected error: 17-Feb-2009 12:05:56.793 isc_socketmgr_create() failed: file not found 17-Feb-2009 12:05:56.794 create_managers() failed: unexpected error 17-Feb-2009 12:05:56.794 exiting (due to early fatal error) # The log gives no indication which file is not found, and truss doesn't help either: ... chroot(/var/named/chroot) = 0 chdir(/) = 0 brk(0x0025CEF8) = 0 brk(0x0025EEF8) = 0 pipe() = 6 [7] fork1() = 10598 lwp_sigredirect(0, SIGWAITING, 0x) Err#22 EINVAL lwp_cond_wait(0xFF275548, 0xFF275558, 0xFF26EDB0) = 0 lwp_mutex_wakeup(0xFF275558)= 0 lwp_mutex_lock(0xFF275558) = 0 lwp_mutex_wakeup(0xFF275558)= 0 lwp_mutex_lock(0xFF275558) = 0 close(7)= 0 read(6, 0xFFBEFC0F, 1) = 0 _exit(1) This bind was compiled for threads, and /dev/poll is not in the jail. For a program like named which forks itself, truss -f is your friend. I'm curious whether the child process is trying to open /dev/poll or not. - Kevin ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Question re separating caching and authoritative servers
On Fri, 2009-02-20 at 13:07 -0500, John Wobus wrote: Any especially good or bad practices? Things that have worked well or poorly? Right now, I'm leaning toward having the caching server transfer key zones. Works for me. Niall O'Reilly University College Dublin IT Services ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re[2]: Is it possible to set a ddns hostname to access a name-based virtual host?
On Saturday, February 21, 2009 at 5:45, k...@chrysler.com wrote: Hongyi Zhao wrote: Hi all, Suppose a file named file.pdf stored in the following web location: http://some_domain/path/to/file.pdf Where, the *some_domain* is a name-based virtual host. In this case, is it possible to set a ddns hostname, say through http://www.changeip.net/, without using *some_domain* itself, to access this file? DNS can only control what IP address the client connects to. It doesn't have any effect on the Host: header that is sent in the HTTP request, and that's what a webserver uses to identify the target site, in a named-based virtual hosting context. I think you want to use a proxy with URL-rewriting capability. SQUID seems to be capable of this. Possibly some browser add-on might have a URL-rewriting capability too, haven't looked into that. Thank you for your pertinent recommendations. Warmly regards, -- Hongyi Zhao hongyi.z...@gmail.com Xinjiang Technical Institute of Physics and Chemistry Chinese Academy of Sciences GnuPG DSA: 0xD108493 2009-2-21 ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users