Re: ifconfig accepting hostname as ipv4 address

2012-06-11 Thread Jonathan McKeown
On Saturday 09 June 2012 23:29:02 Kevin Oberman wrote: > On Sat, Jun 9, 2012 at 12:37 AM, Garrett Cooper wrote: > > > >    I agree that it's not the best configuration in the world, as it > > would only work 100% if a machine had proper DNS records or a > > definitive hosts file. > >    There are

Re: ifconfig accepting hostname as ipv4 address

2012-06-09 Thread Kevin Oberman
On Sat, Jun 9, 2012 at 12:37 AM, Garrett Cooper wrote: > On Sat, Jun 9, 2012 at 12:23 AM, Wojciech Puchar > wrote: >>> input. >>> Moreover, ifconfig em0 some_valid_fqdn/MASK silently ignores it, so you >>> can't set valid CIDR address using this notation. >>> >>> Classful era has ended more than

Re: ifconfig accepting hostname as ipv4 address

2012-06-09 Thread Garrett Cooper
On Sat, Jun 9, 2012 at 12:23 AM, Wojciech Puchar wrote: >> input. >> Moreover, ifconfig em0 some_valid_fqdn/MASK silently ignores it, so you >> can't set valid CIDR address using this notation. >> >> Classful era has ended more than 10 years ago, do we still want to keep >> this behavior? >> > wer

Re: ifconfig accepting hostname as ipv4 address

2012-06-09 Thread Wojciech Puchar
input. Moreover, ifconfig em0 some_valid_fqdn/MASK silently ignores it, so you can't set valid CIDR address using this notation. Classful era has ended more than 10 years ago, do we still want to keep this behavior? were not aware of that option, and it is rather stupid option - you should

Re: ifconfig accepting hostname as ipv4 address

2012-06-08 Thread David Brodbeck
On Fri, Jun 8, 2012 at 10:08 AM, Thomas Rasmussen wrote: > On 08.06.2012 11:04, Jonathan McKeown wrote: >> >> We find it useful, and a significant aid to maintainability and >> readability >> of configuration files. > > Hello, > > What happens if your server reboots while the DNS > server is down/

Re: ifconfig accepting hostname as ipv4 address

2012-06-08 Thread Thomas Rasmussen
On 08.06.2012 11:04, Jonathan McKeown wrote: We find it useful, and a significant aid to maintainability and readability of configuration files. Hello, What happens if your server reboots while the DNS server is down/unavailable ? This seems to be a bad idea for the same reasons that putting h

Re: ifconfig accepting hostname as ipv4 address

2012-06-08 Thread Jonathan McKeown
On Friday 08 June 2012 09:43:25 Alexander V. Chernikov wrote: > On 08.06.2012 11:20, Jonathan McKeown wrote: > > On Thursday 07 June 2012 17:00:04 Alexander V. Chernikov wrote: > >> Hello list! > >> > >> Since the early days ifconfig(8) has the following functionality: > > > > [hostname in place of

Re: ifconfig accepting hostname as ipv4 address

2012-06-08 Thread Alexander V. Chernikov
On 08.06.2012 11:20, Jonathan McKeown wrote: On Thursday 07 June 2012 17:00:04 Alexander V. Chernikov wrote: Hello list! Since the early days ifconfig(8) has the following functionality: [hostname in place of literal address] Moreover, ifconfig em0 some_valid_fqdn/MASK silently ignores it,

Re: ifconfig accepting hostname as ipv4 address

2012-06-08 Thread Jonathan McKeown
On Thursday 07 June 2012 17:00:04 Alexander V. Chernikov wrote: > Hello list! > > Since the early days ifconfig(8) has the following functionality: [hostname in place of literal address] > Moreover, ifconfig em0 some_valid_fqdn/MASK silently ignores it, so you > can't set valid CIDR address using

ifconfig accepting hostname as ipv4 address

2012-06-07 Thread Alexander V. Chernikov
Hello list! Since the early days ifconfig(8) has the following functionality: .. address For the DARPA-Internet family, the address is either a host name present in the host name data base, hosts(5), or a DARPA Internet address expressed in the Inte