Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Anonymous_User Absent Member.
Absent Member.
3751 views

HOSTS File problem!

Hi, is there any utility or program I can run to test the names in my HOSTS? I would my Netware server to resolve hosts from the HOSTS file first and then the ISP DNS which I placed in the RESOLV.CFG file.

Thanks in advance.

Steve.

Labels (1)
0 Likes
22 Replies
Anonymous_User Absent Member.
Absent Member.

Re: HOSTS File problem!

Try PING HOSTNAME from the server console.

bd
NSC Volunteer SysOp


0 Likes
Anonymous_User Absent Member.
Absent Member.

BRe: HOSTS File problem!

Yeah I've tried pinging already but it doesn't work. Can anyone explain why my HOSTS file entry is being ignored and the ISP DNS resolution is being used instead? Is there a certain order of resolution?

Thanks in advance.

Steve.

>>> Brad Doster<bd@NSCSysOps.net> 07/09/2005 18:53 >>>


Try PING HOSTNAME from the server console.

bd
NSC Volunteer SysOp

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: BHOSTS File problem!

In article <TMSTe.610$h61.333@prv-forum2.provo.novell.com>, Steve
Vosper wrote:
> Is there a certain order of resolution?
>

Yes, it should use hosts first. Did you reboot the server after making
changes to the hosts file? If no, make sure you RESET SERVER or DOWN,
then run SERVER.EXE (RESTART SERVER will NOT work in this case).

bd
NSC Volunteer SysOp


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: BHOSTS File problem!

No I havent I was hoping there was a way around that as its a production server Im trying to fix! I will try rebooting tonight though.

Thanks again.

Steve.

>>> Brad Doster<bd@NSCSysOps.net> 08/09/2005 14:36 >>>


In article <TMSTe.610$h61.333@prv-forum2.provo.novell.com>, Steve
Vosper wrote:
> Is there a certain order of resolution?
>

Yes, it should use hosts first. Did you reboot the server after making
changes to the hosts file? If no, make sure you RESET SERVER or DOWN,
then run SERVER.EXE (RESTART SERVER will NOT work in this case).

bd
NSC Volunteer SysOp

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: BHOSTS File problem!

OK, please let us know there result.

bd
NSC Volunteer SysOp


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: BHOSTS File problem!


"Brad Doster" <bd@NSCSysOps.net> wrote in message
news:VA.000033f6.135e6ba6@nscsysops.net...
> In article <TMSTe.610$h61.333@prv-forum2.provo.novell.com>, Steve
> Vosper wrote:
>> Is there a certain order of resolution?
>>

> Yes, it should use hosts first. Did you reboot the server after making
> changes to the hosts file? If no, make sure you RESET SERVER or DOWN,
> then run SERVER.EXE (RESTART SERVER will NOT work in this case).


If it is Netware 6.x (maybe older I am not sure) you can force a read of the
hosts file by typing

WS2_32 RELOAD HOSTS



>>>>>>>

Here are all the commands from a Winsock Patch readme.

WS2_32 RELOAD HOSTS -Reload the SYS:\ETC\HOSTS
WS2_32 RELOAD PROTOCOL -Reload the SYS:\ETC\PROTOCOL
WS2_32 RELOAD SERVICES -Reload the SYS:\ETC\SERVICES
WS2_32 RELOAD RESOLVE -Reload the SYS:\ETC\RESOLV.CFG
WS2_32 RELOAD NWSWITCH -Reload the SYS:\ETC\NWSWITCH.CONF

I hope this helps

Karim C Kronfli
CNE 6



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: BHOSTS File problem!

In article <jdiVe.3603$h61.167@prv-forum2.provo.novell.com>, Karim C
Kronfli wrote:
> WS2_32 RELOAD HOSTS
>

Good point -- thanks. Near as I can tell though, that is only
available on NW 6.5, not on 6.0 or earlier.

bd
NSC Volunteer SysOp


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: BHOSTS File problem!

that command seemed to work fine but my GroupWise MTA is still using the wrong IP address for my domain name that I have set in HOSTS. It seems that it is ignoring the HOSTS file and resolving the name externally!?? Maybe GroupWise uses a different way to resolve names?

Any thoughts?

Steve.

>>> Brad Doster<bd@NSCSysOps.net> 12/09/2005 20:18 >>>


In article <jdiVe.3603$h61.167@prv-forum2.provo.novell.com>, Karim C
Kronfli wrote:
> WS2_32 RELOAD HOSTS
>

Good point -- thanks. Near as I can tell though, that is only
available on NW 6.5, not on 6.0 or earlier.

bd
NSC Volunteer SysOp

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: BHOSTS File problem!


"Steve Vosper" <Steve.Vosper@UBC-Bulk.Com> wrote in message news:8JPXe.2586$Oi6.844@prv-forum2.provo.novell.com...
that command seemed to work fine but my GroupWise MTA is still using the wrong IP address for my domain name that I have set in HOSTS. It seems that it is ignoring the HOSTS file and resolving the name externally!?? Maybe GroupWise uses a different way to resolve names?

Any thoughts?

>>>>>>


Domain Name? MTA?

If you are talking about MTA to MTA communication then have you checked the link configurator that is where comms are defined for the MTA

What is trying to communicate to what?

Hope this helps

Karim C Kronfli
CNE 6
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: BHOSTS File problem!

sorry I wasn't very clear!

I have 2 GroupWise 7 Post Offices. I would like the link configuration to use a domain name to connect to one of the PO which is situated on a different server to the MTA. To specify the domain name I have added the entry in the HOSTS file on the server which runs the MTA, but the server is ignoring the HOSTS file and just resolving the domain through the internet (which provides the external address not the internal address which is in the HOSTS file! not what I need). I need to get the MTA or Link Configuration to use the HOSTS to resolve the domain name, it is possible I have added the name in incorrectly, attached is my Novell HOSTS file.

The line:

172.16.0.220 archiving.ibc-buk.com

is where I need the MTA to resolve the IP address! (p.s the domain has been altered slightly to protect my company.)

Any help is muchly appriciated!

Steve.





>>> Karim C Kronfli<karim@kronfli.demonNOSPAM.co.uk> 20/09/2005 10:05 >>>



"Steve Vosper" <Steve.Vosper@UBC-Bulk.Com> wrote in message news:8JPXe.2586$Oi6.844@prv-forum2.provo.novell.com...
that command seemed to work fine but my GroupWise MTA is still using the wrong IP address for my domain name that I have set in HOSTS. It seems that it is ignoring the HOSTS file and resolving the name externally!?? Maybe GroupWise uses a different way to resolve names?

Any thoughts?

>>>>>>


Domain Name? MTA?

If you are talking about MTA to MTA communication then have you checked the link configurator that is where comms are defined for the MTA

What is trying to communicate to what?

Hope this helps

Karim C Kronfli
CNE 6

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: BHOSTS File problem!

In article <8JPXe.2586$Oi6.844@prv-forum2.provo.novell.com>, Steve
Vosper wrote:
> my GroupWise MTA is still using the wrong IP address for my domain
> name that I have set in HOSTS.
>

Sorry, but you may have to repost this in the GW forums for additional
(worthwhile <g>) ideas.

bd
NSC Volunteer SysOp


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: BHOSTS File problem!

Again, your questions seem much better suited for the GW forums. Best
of luck!

bd
NSC Volunteer SysOp


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: BHOSTS File problem!

yeah I think I will try that.

thanks anyway!

steve.

>>> Brad Doster<bd@NSCSysOps.net> 20/09/2005 14:53 >>>


In article <8JPXe.2586$Oi6.844@prv-forum2.provo.novell.com>, Steve
Vosper wrote:
> my GroupWise MTA is still using the wrong IP address for my domain
> name that I have set in HOSTS.
>

Sorry, but you may have to repost this in the GW forums for additional
(worthwhile <g>) ideas.

bd
NSC Volunteer SysOp

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: BHOSTS File problem!

>No I havent I was hoping there was a way around that as its a production
server Im trying to fix! >I will try rebooting tonight though.

reinitialize system will do the trick



0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.