Damian wrote:
> Paul Mossman wrote:
> > Hi all,
> > 
> > Regarding System -> Servers "Add Server", we have this JIRA:
> > 
> >    XCF-2925: add button to resolve hostnames to IP addresses when 
> > adding new server
> > 
> > Which came from this thread:
> > 
> >    _http://permalink.gmane.org/gmane.comp.voip.sipx.devel/13011_
> > 
> > Adding a new button seems a little complicated, so I'd like 
> to suggest 
> > an alternative.
> 
> Adding a button does not seem that complicated.

I meant that it complicates the UI.  "Clutter" would have been a better
way to put it.

 
> > Keep all the existing settings, and don't add any new ones. 
>  If the IP 
> > Address is entered by the user, then sipXconfig should 
> behave just as 
> > it does now.
> > 
> > If the IP Address is left blank, then sipXconfig will do a 
> DNS lookup 
> > when you click OK or Apply.  In most cases the DNS lookup 
> will succeed 
> > and return exactly one IP address, which sipXconfig will 
> use as if it 
> > was entered by the user.
> > 
> > If the DNS lookup fails or returns more than one IP Address, then 
> > sipXconfig should give an error message to the user.  If 
> the hostname 
> > was indeed entered correctly, then the user will have to manually 
> > enter the IP Address (or wait for DNS to start working again.)
> 
> The idea here is that admin has to be able on demand check if 
> IP address for the host name matches what DNS knows about it.
> One should be able to use this in both cases: if IP address 
> is already set or not.

Ping and nslookup already do a good job of that.  


> Also please remember that the UI has to be usable even 
> without DNS because one of these days it'll be used to create 
> DNS records.

Not sure I follow.  Sounds like when sipXecs is running a DNS service,
you will configure new A records via the "Add Server" screen?  Probably
I misunderstand.

Are you more worried about being able to add a new server before it's
new A record is available from DNS?

 
> > The IP Address help text should read something like: "Leave 
> blank to 
> > have sipXconfig determine the IP Address of this server."  
> Maybe also 
> > move this setting down below Password?
> > 
> 
> I'd rather have the UI for which we do not have to explain 
> what will happen if the field is blank. And removing existing 
> IP address and pressing OK to get hostname resolve is not obvious.

I agree that the less explanation in the UI the better.  But with the
current approach, I think the UI will have to explain what the "Resolve"
button does and why you should or should not manually enter an IP
Address.

We could instead tuck "IP Address" away under Advanced, so its
explanation isn't generally seen.  In the rare case when the DNS lookup
fails, the error message can mention that it can be manually specified
under Advanced.  

I think though that most DNS lookup failures will happen because the
hostname was mistyped.  

Best that we don't also tempt the superadmin to manually type the IP
Address.  Because if both are entered and one is wrong, then sipXconfig
won't detect the problem.

Unless, am I missing something?


-Paul
[email protected]

_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to