PC Review


Reply
Thread Tools Rate Thread

dns & host file

 
 
Guest
Posts: n/a
 
      21st Jun 2008
Hi I have to use a host file to specify a local server ip and DNS(to go to
internet). Can I get if if host file and put the local IP in a DNS entry?
Please help.


 
Reply With Quote
 
 
 
 
Meinolf Weber
Guest
Posts: n/a
 
      21st Jun 2008
Hello (E-Mail Removed),

Please describe your network setup, server, switches and internet access.
If you only have one machine normally the router is also DNS server for your
machine.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm

> Hi I have to use a host file to specify a local server ip and DNS(to
> go to internet). Can I get if if host file and put the local IP in a
> DNS entry? Please help.
>



 
Reply With Quote
 
Guest
Posts: n/a
 
      21st Jun 2008
Thansk, I wil try to explain below:
I have two win 2000 servers(application and database server).
Each server have two network cards and use a hub(1 GB) connect each other)
local IP: 192.168.0.100 and 192.168.0.101
The other network cards connect to internet.
192.168.0.100 is setup accept email relay and 192.168.0.101 use
192.168.0.100 to relay email out.
If I don't put 192.168.0.100 in host file, the email won't go out, I think
it can't find in DNS.
I have to put 192.168.0.100 in host file and specify 192.168.0.100 in smart
host in order to let it work.
Can I put 192.168.0.100 local ip in DNS and get rid of host file?


"Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
news:(E-Mail Removed)...
> Hello (E-Mail Removed),
>
> Please describe your network setup, server, switches and internet access.
> If you only have one machine normally the router is also DNS server for

your
> machine.
>
> Best regards
>
> Meinolf Weber
> Disclaimer: This posting is provided "AS IS" with no warranties, and

confers
> no rights.
> ** Please do NOT email, only reply to Newsgroups
> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
>
> > Hi I have to use a host file to specify a local server ip and DNS(to
> > go to internet). Can I get if if host file and put the local IP in a
> > DNS entry? Please help.
> >

>
>



 
Reply With Quote
 
Herb Martin
Guest
Posts: n/a
 
      21st Jun 2008

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thansk, I wil try to explain below:
> I have two win 2000 servers(application and database server).
> Each server have two network cards and use a hub(1 GB) connect each other)
> local IP: 192.168.0.100 and 192.168.0.101
> The other network cards connect to internet.
> 192.168.0.100 is setup accept email relay and 192.168.0.101 use
> 192.168.0.100 to relay email out.
> If I don't put 192.168.0.100 in host file, the email won't go out, I think
> it can't find in DNS.
> I have to put 192.168.0.100 in host file and specify 192.168.0.100 in
> smart
> host in order to let it work.
> Can I put 192.168.0.100 local ip in DNS and get rid of host file?



>> > Hi I have to use a host file to specify a local server ip and DNS(to


Why do you need to use a host file for that?

Why not run DNS on the 2000 Server(s)?

Point the internal DNS clients (including the servers themselves) to
the INTERNAL DNS server -- add whatever zones and records
you need there.

Have the INTERNAL DNS Servers FORWARD to your ISP.

>> > go to internet). Can I get if if host file and put the local IP in a
>> > DNS entry? Please help.




 
Reply With Quote
 
Meinolf Weber
Guest
Posts: n/a
 
      21st Jun 2008
Hello (E-Mail Removed),

Why do you not install your own DNS server? Think it will be more easy then
using host file. Additional i wouldn't use both NIC's on this way, why not
choosing one NIC on the hub, i prefer switches because they minimize traffic,
and connect via the hub to the internet?


Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm

> Thansk, I wil try to explain below:
> I have two win 2000 servers(application and database server).
> Each server have two network cards and use a hub(1 GB) connect each
> other)
> local IP: 192.168.0.100 and 192.168.0.101
> The other network cards connect to internet.
> 192.168.0.100 is setup accept email relay and 192.168.0.101 use
> 192.168.0.100 to relay email out.
> If I don't put 192.168.0.100 in host file, the email won't go out, I
> think
> it can't find in DNS.
> I have to put 192.168.0.100 in host file and specify 192.168.0.100 in
> smart
> host in order to let it work.
> Can I put 192.168.0.100 local ip in DNS and get rid of host file?
> "Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
> news:(E-Mail Removed)...
>
>> Hello (E-Mail Removed),
>>
>> Please describe your network setup, server, switches and internet
>> access. If you only have one machine normally the router is also DNS
>> server for
>>

> your
>
>> machine.
>>
>> Best regards
>>
>> Meinolf Weber
>> Disclaimer: This posting is provided "AS IS" with no warranties, and

> confers
>
>> no rights.
>> ** Please do NOT email, only reply to Newsgroups
>> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
>>> Hi I have to use a host file to specify a local server ip and DNS(to
>>> go to internet). Can I get if if host file and put the local IP in a
>>> DNS entry? Please help.
>>>



 
Reply With Quote
 
Guest
Posts: n/a
 
      21st Jun 2008
Thanks for the help.
Yes. Both server have DNS installed. If I remove host file, the email won't
go to relay server(192.168.0.100), even I specified 192.168.0.100 as smart
host. How to add 192.168.0.100 to my local DNS server. Thanks again.


"Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
news:(E-Mail Removed)...
> Hello (E-Mail Removed),
>
> Why do you not install your own DNS server? Think it will be more easy

then
> using host file. Additional i wouldn't use both NIC's on this way, why not
> choosing one NIC on the hub, i prefer switches because they minimize

traffic,
> and connect via the hub to the internet?
>
>
> Best regards
>
> Meinolf Weber
> Disclaimer: This posting is provided "AS IS" with no warranties, and

confers
> no rights.
> ** Please do NOT email, only reply to Newsgroups
> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
>
> > Thansk, I wil try to explain below:
> > I have two win 2000 servers(application and database server).
> > Each server have two network cards and use a hub(1 GB) connect each
> > other)
> > local IP: 192.168.0.100 and 192.168.0.101
> > The other network cards connect to internet.
> > 192.168.0.100 is setup accept email relay and 192.168.0.101 use
> > 192.168.0.100 to relay email out.
> > If I don't put 192.168.0.100 in host file, the email won't go out, I
> > think
> > it can't find in DNS.
> > I have to put 192.168.0.100 in host file and specify 192.168.0.100 in
> > smart
> > host in order to let it work.
> > Can I put 192.168.0.100 local ip in DNS and get rid of host file?
> > "Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
> > news:(E-Mail Removed)...
> >
> >> Hello (E-Mail Removed),
> >>
> >> Please describe your network setup, server, switches and internet
> >> access. If you only have one machine normally the router is also DNS
> >> server for
> >>

> > your
> >
> >> machine.
> >>
> >> Best regards
> >>
> >> Meinolf Weber
> >> Disclaimer: This posting is provided "AS IS" with no warranties, and

> > confers
> >
> >> no rights.
> >> ** Please do NOT email, only reply to Newsgroups
> >> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
> >>> Hi I have to use a host file to specify a local server ip and DNS(to
> >>> go to internet). Can I get if if host file and put the local IP in a
> >>> DNS entry? Please help.
> >>>

>
>



 
Reply With Quote
 
Herb Martin
Guest
Posts: n/a
 
      22nd Jun 2008

<(E-Mail Removed)> wrote in message
news:e7WmRK$(E-Mail Removed)...
> Thanks for the help.
> Yes. Both server have DNS installed. If I remove host file, the email
> won't
> go to relay server(192.168.0.100), even I specified 192.168.0.100 as smart
> host. How to add 192.168.0.100 to my local DNS server. Thanks again.


Create a new record for the host name in the zone.

Ok, since that is so trivial there must be something that we or you
are misunderstanding.

Do you have any zones on your internal server? (for you domains?)


> "Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
> news:(E-Mail Removed)...
>> Hello (E-Mail Removed),
>>
>> Why do you not install your own DNS server? Think it will be more easy

> then
>> using host file. Additional i wouldn't use both NIC's on this way, why
>> not
>> choosing one NIC on the hub, i prefer switches because they minimize

> traffic,
>> and connect via the hub to the internet?
>>
>>
>> Best regards
>>
>> Meinolf Weber
>> Disclaimer: This posting is provided "AS IS" with no warranties, and

> confers
>> no rights.
>> ** Please do NOT email, only reply to Newsgroups
>> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
>>
>> > Thansk, I wil try to explain below:
>> > I have two win 2000 servers(application and database server).
>> > Each server have two network cards and use a hub(1 GB) connect each
>> > other)
>> > local IP: 192.168.0.100 and 192.168.0.101
>> > The other network cards connect to internet.
>> > 192.168.0.100 is setup accept email relay and 192.168.0.101 use
>> > 192.168.0.100 to relay email out.
>> > If I don't put 192.168.0.100 in host file, the email won't go out, I
>> > think
>> > it can't find in DNS.
>> > I have to put 192.168.0.100 in host file and specify 192.168.0.100 in
>> > smart
>> > host in order to let it work.
>> > Can I put 192.168.0.100 local ip in DNS and get rid of host file?
>> > "Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
>> > news:(E-Mail Removed)...
>> >
>> >> Hello (E-Mail Removed),
>> >>
>> >> Please describe your network setup, server, switches and internet
>> >> access. If you only have one machine normally the router is also DNS
>> >> server for
>> >>
>> > your
>> >
>> >> machine.
>> >>
>> >> Best regards
>> >>
>> >> Meinolf Weber
>> >> Disclaimer: This posting is provided "AS IS" with no warranties, and
>> > confers
>> >
>> >> no rights.
>> >> ** Please do NOT email, only reply to Newsgroups
>> >> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
>> >>> Hi I have to use a host file to specify a local server ip and DNS(to
>> >>> go to internet). Can I get if if host file and put the local IP in a
>> >>> DNS entry? Please help.
>> >>>

>>
>>

>
>



 
Reply With Quote
 
Guest
Posts: n/a
 
      22nd Jun 2008
Thanks Herb,
The two servers are in workgroup not domain mode. How to add a local IP to
the DNS? Please advice.

"Herb Martin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> <(E-Mail Removed)> wrote in message
> news:e7WmRK$(E-Mail Removed)...
> > Thanks for the help.
> > Yes. Both server have DNS installed. If I remove host file, the email
> > won't
> > go to relay server(192.168.0.100), even I specified 192.168.0.100 as

smart
> > host. How to add 192.168.0.100 to my local DNS server. Thanks again.

>
> Create a new record for the host name in the zone.
>
> Ok, since that is so trivial there must be something that we or you
> are misunderstanding.
>
> Do you have any zones on your internal server? (for you domains?)
>
>
> > "Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
> > news:(E-Mail Removed)...
> >> Hello (E-Mail Removed),
> >>
> >> Why do you not install your own DNS server? Think it will be more easy

> > then
> >> using host file. Additional i wouldn't use both NIC's on this way, why
> >> not
> >> choosing one NIC on the hub, i prefer switches because they minimize

> > traffic,
> >> and connect via the hub to the internet?
> >>
> >>
> >> Best regards
> >>
> >> Meinolf Weber
> >> Disclaimer: This posting is provided "AS IS" with no warranties, and

> > confers
> >> no rights.
> >> ** Please do NOT email, only reply to Newsgroups
> >> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
> >>
> >> > Thansk, I wil try to explain below:
> >> > I have two win 2000 servers(application and database server).
> >> > Each server have two network cards and use a hub(1 GB) connect each
> >> > other)
> >> > local IP: 192.168.0.100 and 192.168.0.101
> >> > The other network cards connect to internet.
> >> > 192.168.0.100 is setup accept email relay and 192.168.0.101 use
> >> > 192.168.0.100 to relay email out.
> >> > If I don't put 192.168.0.100 in host file, the email won't go out, I
> >> > think
> >> > it can't find in DNS.
> >> > I have to put 192.168.0.100 in host file and specify 192.168.0.100

in
> >> > smart
> >> > host in order to let it work.
> >> > Can I put 192.168.0.100 local ip in DNS and get rid of host file?
> >> > "Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
> >> > news:(E-Mail Removed)...
> >> >
> >> >> Hello (E-Mail Removed),
> >> >>
> >> >> Please describe your network setup, server, switches and internet
> >> >> access. If you only have one machine normally the router is also DNS
> >> >> server for
> >> >>
> >> > your
> >> >
> >> >> machine.
> >> >>
> >> >> Best regards
> >> >>
> >> >> Meinolf Weber
> >> >> Disclaimer: This posting is provided "AS IS" with no warranties, and
> >> > confers
> >> >
> >> >> no rights.
> >> >> ** Please do NOT email, only reply to Newsgroups
> >> >> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
> >> >>> Hi I have to use a host file to specify a local server ip and

DNS(to
> >> >>> go to internet). Can I get if if host file and put the local IP in

a
> >> >>> DNS entry? Please help.
> >> >>>
> >>
> >>

> >
> >

>
>



 
Reply With Quote
 
Herb Martin
Guest
Posts: n/a
 
      23rd Jun 2008

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks Herb,
> The two servers are in workgroup not domain mode.


Irrelevant except that you might not yet have (bothered with)
a Zone. (In a domain that would have been required.)

> How to add a local IP to the DNS? Please advice.


Add a zone. Anything you want. YourName.local will work.

Add the name to that. Give all the machines this zone name
for their "Primary DNS suffix" in the System Control panel.

AD Domains need DNS, but DNS works just fine (and
basically the same) without AD.


> "Herb Martin" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>
>> <(E-Mail Removed)> wrote in message
>> news:e7WmRK$(E-Mail Removed)...
>> > Thanks for the help.
>> > Yes. Both server have DNS installed. If I remove host file, the email
>> > won't
>> > go to relay server(192.168.0.100), even I specified 192.168.0.100 as

> smart
>> > host. How to add 192.168.0.100 to my local DNS server. Thanks again.

>>
>> Create a new record for the host name in the zone.
>>
>> Ok, since that is so trivial there must be something that we or you
>> are misunderstanding.
>>
>> Do you have any zones on your internal server? (for you domains?)
>>
>>
>> > "Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
>> > news:(E-Mail Removed)...
>> >> Hello (E-Mail Removed),
>> >>
>> >> Why do you not install your own DNS server? Think it will be more easy
>> > then
>> >> using host file. Additional i wouldn't use both NIC's on this way, why
>> >> not
>> >> choosing one NIC on the hub, i prefer switches because they minimize
>> > traffic,
>> >> and connect via the hub to the internet?
>> >>
>> >>
>> >> Best regards
>> >>
>> >> Meinolf Weber
>> >> Disclaimer: This posting is provided "AS IS" with no warranties, and
>> > confers
>> >> no rights.
>> >> ** Please do NOT email, only reply to Newsgroups
>> >> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
>> >>
>> >> > Thansk, I wil try to explain below:
>> >> > I have two win 2000 servers(application and database server).
>> >> > Each server have two network cards and use a hub(1 GB) connect each
>> >> > other)
>> >> > local IP: 192.168.0.100 and 192.168.0.101
>> >> > The other network cards connect to internet.
>> >> > 192.168.0.100 is setup accept email relay and 192.168.0.101 use
>> >> > 192.168.0.100 to relay email out.
>> >> > If I don't put 192.168.0.100 in host file, the email won't go out, I
>> >> > think
>> >> > it can't find in DNS.
>> >> > I have to put 192.168.0.100 in host file and specify 192.168.0.100

> in
>> >> > smart
>> >> > host in order to let it work.
>> >> > Can I put 192.168.0.100 local ip in DNS and get rid of host file?
>> >> > "Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
>> >> > news:(E-Mail Removed)...
>> >> >
>> >> >> Hello (E-Mail Removed),
>> >> >>
>> >> >> Please describe your network setup, server, switches and internet
>> >> >> access. If you only have one machine normally the router is also
>> >> >> DNS
>> >> >> server for
>> >> >>
>> >> > your
>> >> >
>> >> >> machine.
>> >> >>
>> >> >> Best regards
>> >> >>
>> >> >> Meinolf Weber
>> >> >> Disclaimer: This posting is provided "AS IS" with no warranties,
>> >> >> and
>> >> > confers
>> >> >
>> >> >> no rights.
>> >> >> ** Please do NOT email, only reply to Newsgroups
>> >> >> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
>> >> >>> Hi I have to use a host file to specify a local server ip and

> DNS(to
>> >> >>> go to internet). Can I get if if host file and put the local IP in

> a
>> >> >>> DNS entry? Please help.
>> >> >>>
>> >>
>> >>
>> >
>> >

>>
>>

>
>



 
Reply With Quote
 
Ace Fekay [MVP]
Guest
Posts: n/a
 
      24th Jul 2008
In news:(E-Mail Removed),
(E-Mail Removed) <(E-Mail Removed)> typed:
> Thanks Herb,
> The two servers are in workgroup not domain mode. How to add a local
> IP to the DNS? Please advice.


Why not just relay to the IP address instead of the name?

Btw, what name are you specifying in the hosts file? Is it
relayserver.domain.local or just 'relayserver'?


--
Regards,
Ace

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

For urgent issues, you may want to contact Microsoft PSS directly. Please
check http://support.microsoft.com for regional support phone numbers.

Infinite Diversities in Infinite Combinations


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: Dynamically set host file per user rather than per host? Brent Windows XP Setup 1 5th Jun 2009 04:13 PM
Recognizing host file as a potential harmful file pavilion_alex Spyware Discussion 3 10th Mar 2009 02:15 PM
PAC file + local hosts - does IE use a PAC file when a host is 'lo Andrew Ogram Windows XP Internet Explorer 0 15th Jan 2009 10:27 AM
Host file updater : HOSTS File Manger v1.0.1.2 Wayne D Freeware 1 13th Jun 2005 07:23 PM
Re: HOST File null Windows XP New Users 0 25th Sep 2003 07:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:51 PM.