NSlookup wifi overrides ethernet default server?


Recommended Posts

So at work I do not get to control DHCP and we have certain static addresses for servers/printers and then a dynamic scope for clients.

DHCP for our wired network has the domain controller / active directory / dns machine as the primary dns server (the way it should be).

I've been noticing the laptop clients experience bigger issues with communicating with my server and after doing an nslookup right after the wifi is connected, the default dns server changes to a server that is not in my domain and I do not control (different department).

This has been creating huge issues with policy updates and not having the laptop correctly register with the dns server

(gpupdate causes the userenv to fail saying the dc can not be reached, but was resolved by disabling the wifi and ipconfig /registerdns then a gpupdate /force).

How can I make it so that the ethernet settings always override the wifi settings as far as default dns server... (I've already googled and tried researching it and found nothing)

"How can I make it so that the ethernet settings always override the wifi settings as far as default dns server"

HUH?? Are you saying these machines are wired and wireless at the same time?? That makes no sense from the get go.

You can not use the settings of a no longer dhcp connection - wired, when its disconnected and your now using a different interface with new setting for a different dhcp server.

If you don't want to use dns from dhcp - then dont.. Just change your clients to get the IP, but to use a static dns server. Just change that on the properties of your wireless interface.

post-14624-1258408197.jpg

What I don't get is why you don't just get with who runs the wireless network and have them correct their dhcp scope -- seems kind of pointless to have a setting in wireless dhcp scope that is wrong for the users of said wireless network.

Budman,

In our office we have docking stations for people who use laptops and then we also have just regular desktops. Those docking stations are hardwired (which gives out our IP scope for our floor of 172.16.4.xxx).

The wifi for the entire building uses a different ip scope and different default dns server.

So the problem is that any time a person who has a laptop is docked and goes to log on, the primary dns server is defaulted to the the wrong dns server (due to the wifi being connected) and it's slower for people logging in and it's causing problems with gpupdate.

I can't set a static dns server in the TCP/IP settings because so many of the people on my floor have to go to different schools or travel, which once again have completely different IP scopes.

I guess I was just hoping there was an active directory or registry trick to make the hardwired settings take precedence.

What I don't get is why you don't just get with who runs the wireless network and have them correct their dhcp scope -- seems kind of pointless to have a setting in wireless dhcp scope that is wrong for the users of said wireless network.

Trust me, I've tried. I've also tried getting them to add our dns server as a forwarder on their main DNS server and it hasn't happened going on almost 1 1/2 years now... They also JUST upgraded the main backbone of our building to 100mb from an old 10mb backbone.

Edited by Unholee

basically what you need is to have separate hardware profiles, docked vs undocked. Basically in the docked profile, you want the laptop to disable the wireless network card, but in an undocked profile you want the wireless enabled.

xp http://support.microsoft.com/kb/308577

vista http://www.lockergnome.com/windows/2006/12...files-in-vista/

basically what you need is to have separate hardware profiles, docked vs undocked. Basically in the docked profile, you want the laptop to disable the wireless network card, but in an undocked profile you want the wireless enabled.

xp http://support.microsoft.com/kb/308577

vista http://www.lockergnome.com/windows/2006/12...files-in-vista/

I was looking into hardware profiles but the problem is with over 100 people on my floor it would take me forever to try and get each laptop worked on PLUS teach them how to switch from different profiles.

An ex Principal honestly couldn't hook up a video monitor cable to her docking station even though it was blue and color coordinated :( that's why I was hoping there could be a simple configuration on either my dns server or active directory / vbs script that can launch when they log in.

no there isn't an easy way to do it. but the system will "see" if it is docked vs undocked and will apply the profile as it becomes docked vs undocked. This is going to be your best solution. Unfortunatly when dealing with multihomed situations (2 nics with 2 different gw addresses/dns etc), the system ends up getting confused and does not prioritize between the two (lan overrides wlan or vice versa).

You would have to adopt that into your future images. If you want a lazy mans way of doing it, push the image down to the pc once you have it, be sure to save the users data (but once you figure it out it won't take you much more than 15 min at the laptop to configure it).

Teaching them will be a moot point being that they are already doing what is required (insert laptop into dock, remove laptop from dock).

I'll definitely look into that then since it will be my best and only option. The image idea would be very difficult because we have so many different models of Dell in the office :( It spans from Latitude D400's, 410's, 610's 620's, 630's, E5400's, E4300's, and a few other models ALL with different hardware (some have intell vs dell wifi nic's and some have different video cards).

I'll definitely start changing that on my images that I've begun doing on the new batch of laptops.

when you are looking to upgrade your imaging software look for something that can do a baremetal restore (restore 1 image to disimilar hardware, this technology has been out for a couple of years now, I know acronis has it which is their universal restore option and I believe ghost has something similar now). Something to keep in the back of your mind when upgrading softwares or renewing contracts.

We just upgraded our Acronis True Image Home 11 to the 2010 which now has the universal restore which is very very nice :) We also use the Server Enterprise for our backup solution for our servers.

When I first came into this position 2 years ago both AD servers were horribly configured and couldn't pass a dcdiag, DNS was jacked, no back up solutions, and no script management for log in methods :hmmm: But I can't complain, this has given me so much hands on work so when I'm done with my MIS degree and IA degree it will prepare me for the ugly corporate world :ninja:

"due to the wifi being connected"

Well disable the wireless when a wire is connected then.. Most modern wireless driver supports this option. Look in the advanced driver options of your wireless card.

Or here is some software you can use

http://www.wlanbook.com/bridgechecker/

BridgeChecker is a windows utility that can automatically disable/enable wireless interfaces. Whenever your computer is connected to an Ethernet port and the link state is good, the utility can automatically turns off the IEEE 802.11 wireless network interface. This conserves IP address allocation, reduces security risks, resolves dual interface routing issues, and prolongs battery life.

This would solve your issue as well -- since you should not be connected to wireless and wired at the same time -- its pointless unless they are 2 different networks.

Im curious what dns they point to on this wireless network, if its not AD dns?? How and the F do they access anything while on wireless??

Im curious what dns they point to on this wireless network, if its not AD dns?? How and the F do they access anything while on wireless??

lol do you really want to know how stupid their configuration is? They have 1 primary DNS server for 2 buildings (5 floors each) and then a secondary DNS server for each floor. Each gateway is tunneled to the main gateway so even if I'm in a 172.16.15.xxx ip range, I can see my 172.16.4.xxx network.

Not only do they open the network entirely throughout both buildings for inner-transport, but schools can see upstream to our main network. So if a high school kid wants to jack around and (theoretically) do DOS attacks on the main servers in our building... They can.

They've wanted to change the domain of our floor and pretty much get rid of my position, but we have so many programmers and testers with different needs that being on their domain would cause even more of a headache.

P.S The Intel WiFi link 5100 AGN doesn't have that setting to disable while the NIC is connected, nor have I seen it on a few other dells :(

All the Dells we use support it, if not on the driver look in the dell quickset stuff.

Or I pointed you to a some software that will do it.

As to the network being open?? Well if they are suppose to be working together, then yeah thats going to be required. Can/Should you filter on non required traffic -- sure.. for example clients prob have no reason to talk to clients from floor to floor. But its quite possible they need access to servers there.. So you could filter that with an ACL.

As to seeing other networks that are part of the same business -- again thats pretty much a given.. Users can see networks in Germany and Asia for example.. Since they need to access servers and services there. Now this should be locked down to only the services required, and only the machines that are needed to be accessed, etc. But that can become a logistics problem very quickly if not setup correctly from the get go and just a mash of machines.

As to how many dns servers they have -- 1 for each floor seems a bit much, how many machines on each floor?

Seems your the ODD ball out there -- and your own some different domain. Why don't you just have them add the records you need for your domain into their dns.. From what it sounds like being the ODD man out does not give you much pull -- ask nicely!! have them point put in some NS records for your domain into their dns.. Should take them 2 minutes and then everyone will be happy.

Each floor has roughly 50 - 100 machines all mainly connected to their main domain. But then of course, each school has a different domain operated at the school but tunnelled to the main network.

Half the people in the wan/lan administration don't know what the hell they're doing. They tried setting up that Internet Sherrif protection for porn sites and access and they ended up jacking up everything for the entire district and a week later they just killed it... Heck they have LANDesk for antivirus and it doesnt work and theyve improperly configured lojack on laptops to where they arent even being traced.

So what SHOULD be a 2 minute task is a huge PITA :( I'm the ODD one out with one of the more reliable domains, AD, scripts, and uptime lol yay for being a contracted full time college student.

Well 50-100 freaking machines don't need their own DNS.. Is each floor its own AD domain?

What is a shame is why are there so many domains, and why are you working only on 1 domain? If all one school district it should be central controlled, etc.

I feel your pain, working with people that do not understand how it works -- and don't want to make any changes (like add a dns record) because it might break something etc.. can be a real pain in the ass!!!

Good luck!! But again to fix your issue I would just disable the wireless when on wire, and keep in mind you could always put in your own host and lmhost records for your domain! That way they can always be found no matter what other dns they might be using.

Good luck!! But again to fix your issue I would just disable the wireless when on wire, and keep in mind you could always put in your own host and lmhost records for your domain! That way they can always be found no matter what other dns they might be using.

Budman - Do you have any script examples of how I could over ride the lmhosts.sam file upon startup to edit it for my domain? I already have Netbios over TCP/IP enabled on the server side.

sounds like a mess. It really should be fixed. good luck with that.

What makes all of this worse, the entire district Technology Manager was actually a football coach with no knowledge of this stuff, he just got into the position because he knows the Superintendent.

And why would you do anything to the lmhosts.sam file? that is just a sample nothing in there is going to work.

You could use central file I would guess.

Here this should help

http://technet.microsoft.com/en-us/library/cc959846.aspx

Creating Entries in the LMHOSTS File

Sure the info is for 2000 server, but I doubt anything has changed, etc. As to a script to change it -- sure you could use a startup script or something to change them.. But might just want to use a central file.. Then its one change on each machine to point to the central file -- then you could add or change anything just in one spot, etc.

I just assumed that by talking about LMHOSTS you meant altering the lmhosts.sam file on the clients' computers to have a more static entry of all the domain information. If I'm wrong could you please tell me what you meant about using hosts and lmhosts :)

I just assumed that by talking about LMHOSTS you meant altering the lmhosts.sam file on the clients' computers to have a more static entry of all the domain information. If I'm wrong could you please tell me what you meant about using hosts and lmhosts :)

you could also use the host file

c:\windows\system32\drivers\etc\hosts

format:

x.x.x.x <tab> hostname

example:

192.168.1.20 admin1

Your correct I mean the lmhosts file -- but lmhosts.sam is not the file you edit -- it is not used, you use a file just called LMHOSTS

Look in your windows\system32\drivers\etc

you will see a LMHOSTS file and lmhosts.sam file -- you do do not edit the .sam file, but the LMHOSTS file. the .sam file gives you the info you need.

edit: ^ But the host file is not read for netbios names of the domain. But sure the host file can be used for name resolution when pointing to a dns server that you do not have control over for host names, etc.

Here maybe this article will be more helpful?

http://support.microsoft.com/kb/314108

How to Write an LMHOSTS File for Domain Validation and Other Name Resolution Issues

@ sc302 - Well sadly they have only 1 WINS server for the entire district and once again... it's a PITA to ask them to add any type of information lol

@ Budman - Actually on none of my computers or servers did i see just an LMHOSTS file, I guess that's why I assumed the .sam file was the correct one.

I think it may just be easier to use that WLAN software from the previous page. Installing the software once on all the laptops and just doing a gpupdate will fix headaches from the future.

Can u modify your vlan config. If u can u can change the dhcp helper address to point to your dhcp server and modify your dns as needed.

This is prociding that your vlan is the only vlan housing your witeless clients. I still say using a docked ad undocked hardware profile is your best solution.

Edit: or if u have access to the wap and the wap supports multiple ssids/networks you could configure it to your network (will have to meke the port that it is plugged into on the switch configured on in both vlans by having a secondary address). Then either on each pc or group policy designate a new default ssid for the pcs.

Edited by sc302

If you don't see -- just create.. My point was you can do all you want to the .sam file -- its not going to be read.. The file is lmhosts not lmhosts.sam

You can remove the ext if you want on that file, etc.. But it has a lot of extra info in there remarked out.

As to not using lmhosts since the old days -- sure, wins is what is normally used.. But since you don't have control of dns or wins it seems then you have to do it old school ;)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Wow, 50% increase for the base model. That's steep!
    • A group made up of dozens of cybersecurity experts, including several well-known veterans of the industry, published an open letter to the U.S. government asking it to lift the export control order on Anthropic’s Fable and Mythos models. According to the open letter, “this action has taken the best models away from [cybersecurity] defenders” who now can’t use the models to find vulnerabilities and make their software and products more secure. “To pull the best capabilities away from defenders without a good reason when our adversaries are rapidly advancing is dangerous,” read the letter. On Friday, the U.S. government ordered Anthropic to limit the export of Fable and Mythos, citing national security concerns, without explaining the specific reasons behind the order, according to Anthropic. In response, the company suspended access to the models to all users worldwide.     https://techcrunch.com/2026/06/15/cybersecurity-vets-protest-dangerous-us-government-ban-on-anthropics-most-powerful-models/
    • Vivaldi 8.0.4033.48 by Razvan Serea Vivaldi is a cross-platform web browser built for – and with – the web. A browser based on the Blink engine (same in Chrome and Chromium) that is fast, but also a browser that is rich in functionality, highly flexible and puts the user first. A browser that is made for you. Vivaldi is produced with love by a founding team of browser pioneers, including former CEO Jon Stephenson von Tetzchner, who co-founded and led Opera Software. Vivaldi’s interface is very customizable. Vivaldi combines simplicity and fashion to create a basic, highly customizable interface that provides everything a internet user could need. The browser allows users to customize the appearance of UI elements such as background color, overall theme, address bar and tab positioning, and start pages. Vivaldi features the ability to "stack" and "tile" tabs, annotate web pages, add notes to bookmarks and much more. Vivaldi 8.0.4033.48 changes: [Chromium] Update to 148.0.7778.267 ESR (includes security fixes from 149.0.7827.114/115) [Crash] When closing devtools with input caret in a CSS property field (VB-128998) [Linux][Media] Fetch an updated proprietary media support file (VB-129132) [Permissions] Global Permissions counter shows all permissions (64) as overridden (VB-127713) Download: Vivaldi 64-bit | 139.0 MB (Freeware) Download: Vivaldi 32-bit | ARM64 View: Vivaldi Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Two variants of the KAMRUI H2 mini PC receive deeper discounts on Amazon by Steven Parker KAMRUI (sister company of AceMagic) reached out to us, letting us know that they are applying further discounts to two of their H2 mini PC variants, and in times like these, every little helps. First off, it's the Core i5 14450HX 32GB+1TB variant, which already received a discount from $699 to $567.99 on Amazon, so you may be asking what you get for that. Its most important features are listed below. 32GB Memory Configuration, Exceptional Value. Driven by rising AI demand, the DDR memory supply is tightening, making high-capacity memory more valuable. KAMRUI maintains high-quality standards while offering strong value with a 32GB RAM + 1TB SSD configuration, which delivers excellent performance and storage. Intel i5-14450HX, HX-Class Performance Powered by the Intel Core i5-14450HX (10 cores/16 threads, up to 4.8GHz, 54W TDP)-HX series delivers desktop-class performance. Enjoy up to 120% higher multi-core performance vs. i7-1185G7 and stronger sustained performance than Ryzen 9 6900HX under heavy workloads. With 14450HX performance, it handles coding, compiling, Docker with ease, runs 10+ apps simultaneously—Excel, Chrome, Zoom, video editing—with smooth multitasking and fast load times. 32GB RAM & 1TB NVMe SSD - expandable up to 4TB Mini pc W-11 Pro equipped with 32GB (16GB×2) DDR4 dual-channel memory and a 1TB NVMe PCIe 4.0×4 SSD, mini pc delivers fast system response and efficient data access for demanding workloads. Dual M.2 slots support storage expansion up to 4TB. Large memory support running multiple virtual machines simultaneously, enabling fast deployment and isolated sandbox testing, significantly improving development efficiency and multitasking performance. HX-Class Heat Dissipation, Higher Productivity 14450HX Mini computers W-11 pro equipped with upgraded silent centrifugal fans, dual copper heat pipes, dual fin-stack cooling modules, and an optimized dual-airflow design, the processor can maintain ≥95% of multi-core performance even under long-duration heavy workloads. The HX platform is specifically designed for multitasking, rendering, and content creation, and multitasking, delivering desktop-class stability and powerful performance. Triple 4K Productivity Power Supports triple 4K displays and handles complex workflows like coding, data processing, and multitasking with ease. WiFi 6 delivers fast, reliable connectivity for video, conferencing, and transfers. Bluetooth 5.2 ensures stable, low-latency wireless connections. Versatile Connectivity This mini computer comes with 1x Type-C(10Gbps data transfer), 1x RJ45 Ethernet, 2x USB3.2 Gen2 (10Gbps), 4x USB3.2 Gen1 Type-A (5Gbps), PD output, 1x HDMI 2.0, 1x DP 1.4, and 1x 3.5mm audio jack. It offers versatile connectivity to connect multiple devices effortlessly, reducing the need for frequent plugging and unplugging. Small Size, Big Performance Mini PC measures just 5.04 × 5.04 × 1.63 inches, over 80% smaller than a traditional desktop, yet equipped with the high-performance 14450HX processor for near-desktop-level power. With VESA mounting support, it transforms cluttered desks into clean, organized setups. Normally costing $699, but now down to $ 535.79, which includes an additional 6% off the Amazon listed price. That equals a total of 24% off the MSRP. KAMRUI Hyper H2 (Core i5 14450HX 32GB+1TB) for $ 535.79 (was $699) Use code 2UD2IW7D for the above price during checkout (expires on June 30) Editors note: This appears to be listed as a "frequently returned item" on Amazon, but you should take into account the reviews on the page that discuss a completely different PC, it would seem that this is yet another recycled sales page that is now listing this newer item, possibly to retain the positive 4.5 star rating on the page. Next up, we have the Core i9 14900HX/32GB+1TB variant, which normally costs $799.99 but is already discounted to $759.99 on Amazon. Again, the most important highlights for this variant are listed below. Upgrade 14th Intel Core i9-14900HX Processor KAMRUI Mini Computers features the 14th Gen Intel Core i9-14900HX processor (up to 5.8GHz, TDP 55W, 36MB cache, 24C/32T), delivering 25%–40% higher performance than the i5-14450HX (24C/32T) and i7-1280P in multitasking, creative work, and high-load applications. Manufactured using Intel 7 (10 nm) process technology, Mini Computer efficiently allocates workloads to deliver faster response times, smoother operation, and heightened productivity. 32GB DDR4 & 1TB SSD - Expandable to 4TB KAMRUI Intel Core i9-14900HX mini PC features dual-channel 32GB DDR memory (expandable to 64GB) and 1TB NVMe PCIe 4.0×4 SSD, delivering speeds 40% faster than PCIe Gen3. The KAMRUI Micro PC features two M.2 2280 SSD slots, each expandable up to 2TB, effortlessly accommodating a high-capacity system drive and an ultra-fast cache drive. This achieves a perfect balance of speed, capacity, and flexibility, effortlessly handling large projects and high-speed workflows. 4K UHD Triple Display KAMRUI 14900HX Mini PC features a 4K@60Hz UHD graphics card (Intel UHD Graphics), supporting 4K@60Hz high-definition video playback for a premium visual experience. Mini Gaming PC incorporates an HDMI 2.0 port + DP 1.4 port + USB3.2 Gen2 Type-C port, supporting 4K triple display output. Mini PC can connect to three monitors to fulfil your multi-screen collaboration requirements. Ultra-high-definition visuals and ultra-fast connectivity significantly enhance your productivity. RJ45 LAN Port+WiFi6E+BT5.2 KAMRUI Mini PC features a 1.0Gbps LAN port, suitable for high-speed broadband environments in homes, offices, and large enterprises. Bluetooth 5.2 enables connection to peripherals such as headphones, mice, and keyboards. Dual-band WiFi 6E and BT 5.2 deliver enhanced interference resistance and more stable wireless signals. Regardless of your network environment's complexity, the KAMRUI H2 mini computer delivers a relatively stable and smooth network experience. Professional-Grade Cooling System KAMRUI Mini gaming PC features an upgraded silent centrifugal fan, dual copper heat pipes, and a dual-fin module. Its all-copper structure enhances thermal conductivity, boosting airflow efficiency by 35% and overall heat dissipation by 40%, ensuring the CPU can stably deliver up to 55W performance under full load. Upgraded aluminum heatsink keeps the SSD cool to maintain read/write speeds, ensuring desktop-level stability and power for demanding workloads. Compact Size, Infinite Possibilities KAMRUI H2 mini computers measure just 5.04 x 5.04 x 1.63 inches, a fraction of the size of a traditional desktop, yet deliver powerful performance for demanding workloads. With the included VESA mount, you can easily attach a small pc behind a monitor or place it in your TV cabinet, turning your display into a sleek mini PC while saving valuable desk space. Versatile Connectivity This KAMRUI mini gaming computer comes with 1*USB3.2 Gen2 Type-C(up to 10Gbps data transfer), 1*RJ45 Ethernet, 2*USB3.2 Gen2 (10Gbps), 4*USB3.2 Gen1 Type-A (5Gbps), 1*HDMI 2.0, 1*DC, 1*DP 1.4, and 1*3.5mm audio jack. It offers versatile connectivity to connect multiple devices effortlessly, reducing the need for frequent plugging and unplugging. Normally costing $799, but now down to $721.99, which includes an additional 5% off the Amazon listed price. That equals a total of 10% off the MSRP. KAMRUI Hyper H2 (Core i9 14900HX/32GB+1TB) for $ 721.99 (was $799) Use code AQ5Z6A47 for the above price during checkout (expires on June 30) KAMRUI claims that they offer lifetime technical support along with a 12-month warranty. For either of these mini PCs, should you encounter any issues during use, KAMRUI claims it will do its utmost to assist customers. As an Amazon Associate, we earn from qualifying purchases.
  • Recent Achievements

    • One Year In
      Console General earned a badge
      One Year In
    • One Year In
      Twozo Technologies earned a badge
      One Year In
    • One Month Later
      Twozo Technologies earned a badge
      One Month Later
    • Week One Done
      Twozo Technologies earned a badge
      Week One Done
    • Veteran
      branfont went up a rank
      Veteran
  • Popular Contributors

    1. 1
      +primortal
      512
    2. 2
      +Edouard
      201
    3. 3
      PsYcHoKiLLa
      108
    4. 4
      Steven P.
      89
    5. 5
      Nick H.
      71
  • Tell a friend

    Love Neowin? Tell a friend!