当前位置:网站首页>电脑无法加域,ping域名显示为公网IP,这是什么问题?怎么解决?
电脑无法加域,ping域名显示为公网IP,这是什么问题?怎么解决?
2022-07-07 15:33:00 【IT狂人日志】
众所周知,电脑要加域,必须能正确地解析域名,但是客户说,新电脑ping域名却显示为公网IP,导致电脑无法加域。听到这种问题,第一反应就是DNS的问题。
究竟是DNS Server的问题,还是电脑DNS Client的问题,其实很好判断,只要别的电脑ping域名能正常解析到内网域控IP,则表示DNS Server根本没问题。
由于一开始设置IP地址的时候,设置了114.114.114.114作为DNS服务器,所以指导客户修改为内部的DNS服务器IP后,执行ipconfig /flushdns命令,以刷新DNS缓存,但是无效。
远程登录客户的新电脑,发现IP和DNS服务器配置无误,ping域名确实还是显示为公网IP。
立刻就想到,可能这台电脑默认采用了IPv6协议在通信,而内网的DNS服务器并没有配置IPv6,应该是通过路由器,直接解析到公网域名了,所以把IPv6协议去掉后,确定。
顺利说一句,因为此电脑有双网卡,所以此处没有填写网关,实际上不会影响加域、访问网络驱动器等操作,勿见怪。
此时,ping域名则显示为内网域控的IP,操作加域成功。
其实,这是个很小的问题,我当时上线解决问题,也就是二三十秒的时间,但是有些网管会走进死胡同,总认为是DNS服务器的故障,或者干脆不知道从何查起,所以特此分享。
边栏推荐
- Sort out several important Android knowledge and advanced Android development interview questions
- Pisa-Proxy SQL 解析之 Lex & Yacc
- 【Seaborn】组合图表:FacetGrid、JointGrid、PairGrid
- typescript ts 基础知识之类型声明
- 字节跳动高工面试,轻松入门flutter
- [PHP] PHP interface inheritance and interface multi inheritance principle and implementation method
- Seaborn数据可视化
- QT picture background color pixel processing method
- 如何在博客中添加Aplayer音乐播放器
- 掌握这个提升路径,面试资料分享
猜你喜欢
Personal notes of graphics (3)
Direct dry goods, 100% praise
二叉搜索树(基操篇)
【Seaborn】组合图表:FacetGrid、JointGrid、PairGrid
Horizontal and vertical centering method and compatibility
null == undefined
直接上干货,100%好评
The latest interview experience of Android manufacturers in 2022, Android view+handler+binder
字节跳动Android金三银四解析,android面试题app
Binary search tree (basic operation)
随机推荐
LeetCode 312. Poke balloon daily
Introduction and use of gateway
【DesignMode】外观模式 (facade patterns)
[designmode] template method pattern
Localstorage and sessionstorage
最新阿里P7技术体系,妈妈再也不用担心我找工作了
LeetCode 1186. 删除一次得到子数组最大和 每日一题
time标准库
null == undefined
【DesignMode】享元模式(Flyweight Pattern)
skimage学习(2)——RGB转灰度、RGB 转 HSV、直方图匹配
Horizontal and vertical centering method and compatibility
两类更新丢失及解决办法
最新2022年Android大厂面试经验,安卓View+Handler+Binder
QT中自定义控件的创建到封装到工具栏过程(一):自定义控件的创建
正在准备面试,分享面经
作为Android开发程序员,android高级面试
LeetCode 1155. 掷骰子的N种方法 每日一题
最新Android高级面试题汇总,Android面试题及答案
LeetCode 403. 青蛙过河 每日一题