- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hostname valid characters
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 02:26 AM
тАО11-08-2002 02:26 AM
another quick one..
Is an underscore a valid char in a hostname.
(too tired to make a test)
Later,
Bill
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 02:30 AM
тАО11-08-2002 02:30 AM
Re: hostname valid characters
Yes this will be possible, but I believe not as first character.
If you use set_parms, this will check if the hostname is valid.
There is a checking mechnism in set_parms.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 02:30 AM
тАО11-08-2002 02:30 AM
Re: hostname valid characters
I KNOW I have seen a document about this, but do you think I can remember where? Not a chance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 02:37 AM
тАО11-08-2002 02:37 AM
Re: hostname valid characters
I guess I should check out some RFC..
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 02:39 AM
тАО11-08-2002 02:39 AM
SolutionFound this info:
As mentionned in the RFC1033 : DOMAIN ADMINISTRATORS OPERATIONS GUIDE
The domain system allows a label to contain any 8-bit character.
Although the domain system has no restrictions, other protocols such as SMTP do have name restrictions. Because of other protocol restrictions, only the following characters are recommended for use in a host name (besides the dot separator):
"A-Z", "a-z", "0-9", dash and underscore
The underscore is now accepted as character in a hostname.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 02:43 AM
тАО11-08-2002 02:43 AM
Re: hostname valid characters
If you are using DNS then you have to specifically allow the underscore.
Personally, I'd avoid using it.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 02:45 AM
тАО11-08-2002 02:45 AM
Re: hostname valid characters
The problem is that you have used an underscore character (_) in
the DNS server hostname. Starting with BIND 4.9.6, hostnames cannot
contain this character.
Solve the problem by changing the hostname and rebuilding the DNS server.
Also, in order to resolve other hostnames that have an "_" in them, add the following three lines to the very beginning of the named.boot file:
check-names primary ignore
check-names secondary ignore
check-names response ignore
end quote
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 02:45 AM
тАО11-08-2002 02:45 AM
Re: hostname valid characters
To allow for this, modify the "check-names" options lists in the named.conf file that hosts_to_named generates.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 02:45 AM
тАО11-08-2002 02:45 AM
Re: hostname valid characters
how do I specify in DNS that the _ is good..
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 02:46 AM
тАО11-08-2002 02:46 AM
Re: hostname valid characters
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 02:47 AM
тАО11-08-2002 02:47 AM
Re: hostname valid characters
Take a look at /sbin/set_parms/05_hostname and around line 772 you will get to the hostname check portion, and a listed supported character is definitely the underscore.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 03:11 AM
тАО11-08-2002 03:11 AM
Re: hostname valid characters
but eventually found this link:
explaining the issue also.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x52b6c8ecad09d6118ff40090279cd0f9,00.html
Thanks all,
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2002 10:43 AM
тАО11-11-2002 10:43 AM
Re: hostname valid characters
...don't go there...
all it takes is one other bit of resolver or server code not within your control to make using an underscore in a hostname a cause for lack of connectivity.
It should be considered only an accident that earlier versions of DNS software allowed the underscore at all.