Re: gethostbyname
- From: "Paul Bergson" <pbergson@xxxxxxxxxxxxxxxxx>
- Date: Tue, 8 Aug 2006 07:58:23 -0500
If you need lowercase then call a routine to convert. This is available in
most all scripts and languages.
--
Paul Bergson MCT, MCSE, MCSA, Security+, CNE, CNA, CCA
http://www.pbbergs.com
Please no e-mails, any questions should be posted in the NewsGroup
This posting is provided "AS IS" with no warranties, and confers no rights.
"Ace Fekay [MVP]" <PleaseAskMe@xxxxxxxxxxxxxx> wrote in message
news:OGyyeqtuGHA.5084@xxxxxxxxxxxxxxxxxxxxxxx
In news:1155014578.317346.160010@xxxxxxxxxxxxxxxxxxxxxxxxxxxx,
rpv30@xxxxxxxxxxx <rpv30@xxxxxxxxxxx> stated, which I commented on below:
Hi
We have a Windows 2003 server where an application program gets the
host name using the gethostbyname() API. This was returning the FQDN
in
all lowercase, but now it has started returning the hostname in all
uppercase. What could be the issue here? We are facing problems here
since we try to insert this data into a case sensitive DB.
The server is in a domain. It used to return server.domain.com but now
it returns SERVER.domain.com
Regards
Prasanna Venkatesh R
Actually DNS is not case sensitive, but if the records were entered as
uppercase, then these queried records will return as uppercase. Check the
actual records. If the workstations' or servers' hostnames are uppercase,
they will register into DNS as such.
--
Ace
Innovative IT Concepts, Inc
Willow Grove, PA
This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.
Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft MVP - Directory Services
Microsoft Certified Trainer
Having difficulty reading or finding responses to your post?
Instead of the website you're using, I suggest to use OEx (Outlook Express
or any other newsreader), and configure a news account, pointing to
news.microsoft.com. This is a direct link to the Microsoft Public
Newsgroups. It is FREE and requires NO ISP's Usenet account. OEx allows
you to easily find, track threads, cross-post, sort by date, poster's
name, watched threads or subject.
It's easy:
How to Configure OEx for Internet News
http://support.microsoft.com/?id=171164
Infinite Diversities in Infinite Combinations
Assimilation Imminent. Resistance is Futile
"Very funny Scotty. Now, beam down my clothes."
The only constant in life is change...
.
- References:
- gethostbyname
- From: rpv30
- Re: gethostbyname
- From: Ace Fekay [MVP]
- gethostbyname
- Prev by Date: Re: Active Directory Permissions
- Next by Date: Re: Delegating Administration
- Previous by thread: Re: gethostbyname
- Next by thread: Re: gethostbyname
- Index(es):
Relevant Pages
|