Re: bind-address by name under 5.0.18

2006-02-28 Thread James Long
>6752 exit(1); >6753} >6754my_bind_addr = (ulong) > ((in_addr*)ent->h_addr_list[0])->s_addr; >6755 } >6756 break; > > > > And with other DBs, I can set 'sql.example.com' to resolve to N > > IPs (N=4 in this example): > > > > 10.0.0.10 > > 1

Re: bind-address by name under 5.0.18

2006-02-27 Thread James Long
> Hi, > > > Thank you very much! I'm willing to help test if you can provide me a diff > > of your changes. > > Well, that was easy. I checked the code, and it turns out that the > functionality is already there. I just tested it on my laptop (running > 5.0.13) and it does indeed work. > >

Re: bind-address by name under 5.0.18

2006-02-27 Thread James Long
> Hi James, > > >>> I would like to be able to bind to a host name, rather than > >>> an IP number. IP numbers come and go, and are beyond the > >>> control of anyone who doesn't have their own direct allocation. > >>> But since I own my domain, a host name is more permanent. > >> Adding this f

Re: bind-address by name under 5.0.18

2006-02-27 Thread James Long
> Oh, no. I know about etc/hosts (even Windoze boxes has one). It's just > normally not available for reference until you bind your socket library to > at least one socket. Again, it's a cart and horse thing. You see, the > etc/hosts file counts as a "local" DNS server and the DNS protocol > re

Re: bind-address by name under 5.0.18

2006-02-27 Thread James Long
id I make sense? Yes, but none of the information was new. > Shawn Green > Database Administrator > Unimin Corporation - Spruce Pine > > James Long <[EMAIL PROTECTED]> wrote on 02/27/2006 03:59:14 PM: > > > > It doesn't allow to bind to a hostname. According t

Re: bind-address by name under 5.0.18

2006-02-27 Thread James Long
iguration parameter. > > On 2/22/06, James Long <[EMAIL PROTECTED]> wrote: > > I would like to be able to bind to a host name, rather than > > an IP number. IP numbers come and go, and are beyond the > > control of anyone who doesn't have their own dir

bind-address by name under 5.0.18

2006-02-22 Thread James Long
I would like to be able to bind to a host name, rather than an IP number. IP numbers come and go, and are beyond the control of anyone who doesn't have their own direct allocation. But since I own my domain, a host name is more permanent. When the time comes to change IP numbers, I want to just