我知道这看起来像所有其他“可以通过 ip ping 但不能通过 dns”问题,但这些问题根本没有帮助我。
此外,在所有机器上都有主机文件是不可行的,因为该服务器最终将处理大量连接到它的计算机。
我有一个 ldap+dns 服务器集,我希望我网络上的计算机在 ldap 服务器上进行身份验证。
它的 ldap 部分工作正常,我可以使用 ldap 凭据通过 ssh 进入 ldap 服务器。
问题出在客户端机器上,客户端设置为使用 dns 服务器(在本例中为 192.168.0.243),如果我进入终端并执行 nslookup,它会发现 ldap 服务器就好了。
fernando@desktest:~$ nslookup ldap.mynet.local
Server: 192.168.0.243
Address: 192.168.0.243#53
Name: ldap.mynet.local
Address: 192.168.0.243
Run Code Online (Sandbox Code Playgroud)
但是当我ping它时,它没有找到IP地址。它只是挂在那里看起来很漂亮,直到我 CTRL-C 它。
当然,通过 ip 地址 ping 工作得很好。
以下是 dns 服务器的区域文件:
fernando@ldap:~$ cat /etc/bind/named.conf.local
zone "mynet.local" {
type master;
file "/etc/bind/db.mynet.local";
};
zone "0.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.192";
};
fernando@ldap:~$ cat /etc/bind/db.mynet.local
;
; BIND data file for local …Run Code Online (Sandbox Code Playgroud) 当我 ping 我有这个显示:
> ping -i 4 www.google.fr
64 bytes from wi-in-f94.1e100.net (173.194.67.94): icmp_seq=503 ttl=46 time=45.5 ms
.......
.......
64 bytes from wi-in-f94.1e100.net (173.194.67.94): icmp_seq=508 ttl=46 time=44.9 ms
64 bytes from wi-in-f94.1e100.net (173.194.67.94): icmp_seq=509 ttl=46 time=45.1 ms
Run Code Online (Sandbox Code Playgroud)
我想有之前ping的时间。
就像是:
> (right functions) + ping -i 7 www.google.fr
mardi 15 mai 2012, 10:29:06 (UTC+0200) - 64 bytes from wi-in-f94.1e100.net (173.194.67.94): icmp_seq=503 ttl=46 time=45.5 ms
.......
.......
mardi 15 mai 2012, 10:29:13 (UTC+0200) - 64 bytes from wi-in-f94.1e100.net (173.194.67.94): icmp_seq=508 ttl=46 time=44.9 …Run Code Online (Sandbox Code Playgroud) 与上面的注释相反,我还没有找到我的问题的答案。
我已经阅读了近十二个 apt-get 更新问题,其中大部分来自 askubuntu.com,其中包含“无法获取”错误,并尝试了在那里回答的解决方案。不幸的是,没有一个奏效。我最近在笔记本电脑上安装了 Ubuntu 12.04,与 Windows 7 一起双启动。当我尝试时
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
在终端上,以下不断发生:
Err http://ph.archive.ubuntu.com precise InRelease
Err http://ph.archive.ubuntu.com precise-updates InRelease
Err http://ph.archive.ubuntu.com precise-backports InRelease
Err http://ph.archive.ubuntu.com precise Release.gpg
Unable to connect to ph.archive.ubuntu.com:http: [IP: 91.189.92.177 80]
Err http://ph.archive.ubuntu.com precise-updates Release.gpg
Unable to connect to ph.archive.ubuntu.com:http: [IP: 91.189.92.177 80]
Err http://ph.archive.ubuntu.com precise-backports Release.gpg
Unable to connect to ph.archive.ubuntu.com:http: [IP: 91.189.92.177 80]
Err http://extras.ubuntu.com precise InRelease
Err http://extras.ubuntu.com precise Release.gpg
Unable to connect to extras.ubuntu.com:http:
Err http://security.ubuntu.com precise-security InRelease
Err …Run Code Online (Sandbox Code Playgroud) 通常我使用 ping 来检查我的互联网连接。在 Windows 中,如果我使用:
ping google.com
Run Code Online (Sandbox Code Playgroud)
我只得到 4 个信息 ping,但在 Ubuntu 上,如果我使用该命令,则 ping 无法停止,直到我用Ctrl+停止它为止C。我可以只ping 4 次然后停止吗?如果可以,我可以将其用作默认值吗?
我无法 ping microsoft.com,但可以通过 Firefox 打开它。我正在使用 12.04LTS。我能够ping通所有其他网站。
当我们使用 windows ping 时,它会显示失败的 ping。Ubuntu 有没有类似的功能?
在调试网络时,失败的 ping 非常有用。大家怎么解决的?嗯,我只想要简单的解决方案,我不想得到一个很长的脚本。
有没有办法知道谁在我的网络上 ping 我的电脑?是否可以监控所有 ICMP 数据包?我怎样才能做到这一点?
我有一个间歇性问题(在使用不同的连接一段时间后会自行解决),导致 Internet 请求失败,使用一个特定的无线网络。关联一个AP后大约5次请求后,ping会报错
ping: sendmsg: No buffer space available
Run Code Online (Sandbox Code Playgroud)
就像在Wifi 连接但没有数据传输中一样: "ping: sendmsg: No buffer space available"。
如果相关,我在Centrino Ultimate-N 6300 [8086:4238]Thinkpad X201 上看到了无线接口。错误 #836250可能与此相关。
虽然我可以解决这个问题,但我想知道:这个错误消息是什么意思?特别是,它在谈论什么缓冲区?
我需要 ping Google 才能查看我的 Internet 状态。在 Windows 中,我们使用:
ping -t [websitename]
Run Code Online (Sandbox Code Playgroud)
在运行菜单中。我如何在 Ubuntu 上执行此操作?
我一直在阅读人们通过 DDOS 攻击等在互联网上相互攻击的常见方式,以及人们如何保护自己免受此类攻击,我发现使用 Ubuntuping工具有一个“洪水 ping ” 选项:
ping -f <WhatToPing>
Run Code Online (Sandbox Code Playgroud)
因此,我认为 ping 泛洪除了恶意 DOS 攻击之外,肯定还有其他用途,所以这确实是我的问题,在什么情况下您通常会-f在不尝试做恶意操作时使用该选项?
ping ×10
networking ×3
command-line ×2
12.04 ×1
dns ×1
mdns ×1
security ×1
updates ×1
wireless ×1