January 29th, 2003, 05:54 PM
Windows server, static linux hosts
I have a windows xp(yes, haha ive heard it all before) box acting as a firewall/gateway/dns for my network(which is mostly linux). Ok, if i use dhcp with my hosts name resolution works great, but due to some complications I need to setup my hosts statically. The problem is when I do this name resolution no longer works, I can still connect using ips but thats hardly helpful. Is there some file in windows(like a hosts file) that i can edit, or some kind of list where i can fill in taken ips and their corresponding host names?
January 30th, 2003, 05:16 PM
- you can setup DHCP for using static IPs (it can always assign the same IP depending on the NICīs MAC address)
- there is a "hosts" file. in windows 2k/xp. it is here: c:\win(nt|dows)\system32\drivers\etc\hosts
- your problem is wrong setup of dns. you can solve it without using the "hosts" file.
January 30th, 2003, 05:56 PM
Thank sounds right, will set things up differently, thanks