

InterviewSolution
1. |
Solve : NetBeans/Java DNS cache?? |
Answer» NetBeans seems to use a DNS cache separate from the O/S. When developing web sites with my laptop in different locations, it would be really handy if I could get this cache flushed (one LAN IP address when at work, one EXTERNAL IP address from a local DNS server when at home). Windows' own resolver has no problem with this CONCEPT and I can always run ipconfig /flushdns if needs be. But NetBeans is still looking in the wrong place. Hang on - reading that article more closely, there's a suggestion a JRE setting might fix it. I'll try that. Thanks! You bet, keep us posted So far so good - thank you!There was a strange twist to this. The Windows DNS cache operates slightly differently in versions of Windows after XP. ipconfig /flushdns appears to work properly in an unelevated command prompt. But it doesn't. The cache is only properly flushed when the command is run from an elevated prompt. Anyway, with the settings change and BEARING the above in mind, my multi-location development is proceeding smoothly again. |
|