我创建了一个服务,它分配了3个吊舱。
我希望通过同一项目中的其他服务通过它的主机名访问该服务。我怎么能这么做?
试过:
alxtbk@dns-test:~$ ping elassandra-0.elassandra
ping: elassandra-0.elassandra: Name or service not known
alxtbk@dns-test:~$ ping elassandra-0.default.svc.cluster.local
ping: elassandra-0.default.svc.cluster.local: Name or service not
我有几个树莓派的命名数字(pi0,pi1等)。他们有静态IP地址,但我想要一个简单的工具来检查他们,确保他们是在线的,即使他们得到了错误的IP (我在过去有一些麻烦。最近没什么,但不管怎么说,让它变得万无一失似乎是个好主意)。这个工具没有使用IP,而是使用已经具有良好格式的MDNS主机名。我写的剧本是:
#!/bin/bash
report+="Device Name Status Location\n"
report+="----------- ------ --------\n"
for i in {0..3}
d
我无法打开Xubuntu 18.04中的菜单编辑器。通过设置管理器(如图所示)或终端(命令menulibre)
📷
当我在终端中执行menulibre时,会收到以下错误消息:
ping: f6903536d567a64584e4a6331526f5a5652796458526f4f327077595474745a.sub.deliverycontent.online: Name or service not known
我正在努力获得.local域的dns解析。
我能做到:
$ avahi-resolve-host-name redacted.local
Redacted.local 10.xx.xx.xx
但不是
ping redacted.local
ping: redacted.local: Name or service not known
我的ubuntu机器名是machine。我可以成功地执行ping machine,但是当我执行ping machine.local时,它不能解析machine.local并给出消息
ping: machine.local: Name or service not known
我该如何解决这个问题呢?
这是真的。
#代码:
#!/bin/bash
for ip in `seq 100 110`; do
ping -c 1 $0.$ip | grep "64 bytes" | cut -d " " -f 4 | tr -d ":" &
done
#命令:
./ipsweep.sh 192.168.0
#结果:
ping: ./ipsweep.sh.105: Name or service not known
我已将类型A的DNS dinhonesto.com.br和www.dinhonesto.com.br配置为外部ip,但只有dinhonesto.com.br有效。 注:自15天前起不工作。 DNS Name Type TTL (secs) Data
www.dinhonesto.com.br. A 300 34.98.110.250
dinhonesto.com.br. A 300 34.98.110.250 当我尝试ping两个域(dinhonesto.com.br和www.
我已经安装了RasPi Raspbian,现在我不能进行ssh或git克隆,似乎只能解析本地主机名。尽管如此,ping仍然有效:
pi ~ $ ssh test.com
ssh: Could not resolve hostname test.com: Name or service not known
pi ~ $ git clone gitosis@test.com:test.git
Cloning into 'test'...
ssh: Could not resolve hostname test.com: Name or service not known
fata
几天来,在几次重新启动之后,我仍然面临着我的CentOS 7机器无法打开我的域的问题。
[root@ip126 ~]# ping sub.mydomain.eu
ping: sub.mydomain.eu: Name or service not known
我如何能够清除任何阻止我连接到这个地址的缓存?
我有3项伪造服务。服务A和B在同一个坞-组合文件中运行:
docker-compose.yml
version: '3.5'
services:
service_a:
container_name: service_a
networks:
- my_net
service_b:
container_name: service_b
networks:
- my_net
networks: #This is just because I wanted to change the network default name
我正在做一个bash脚本来平一个特定的网址。问题是,当我说:
ping https://www.dictionary.com/browse/word然后ping说
ping: https://www.dictionary.com/browse/word: Name or service not known
有人能帮帮我吗?是什么程序,我可以用来平一个https服务器。
我必须在那里有斜杠,因为我想要平那一页。
提前谢谢你。
在运行这个的时候...
$ ansible all -m ping
我得到了这个..。
[WARNING]: sftp transfer mechanism failed on [test@172.31.48.154]. Use ANSIBLE_DEBUG=1 to see detailed information
[WARNING]: scp transfer mechanism failed on [test@172.31.48.154]. Use ANSIBLE_DEBUG=1 to see detailed information
test@172.31.48.154 | FAILE
我有一些关于天蓝色dns服务的DNS。都是公共DNS。我能从我的系统中解决这些问题。但是这些域并不是从我在Azure中创建的VM解析出来的。VM有公共IP,Vnet有服务器。
10.0.0.4
10.0.0.5
8.8.8.8
8.8.4.4
我不知道为什么这些域要从VM中解决。如果我在配置中遗漏了什么,请告诉我。
[root@Server ~]# traceroute godqualified.com.dev.spointe.org
godqualified.com.dev.spointe.org: Name or service not known
[root@Server ~]# p
我的C#应用程序似乎有问题,我将其容器化并放入pod中,不能通过集群访问服务吗?
我做了一个简单的代码示例
using System;
using System.Net.NetworkInformation;
namespace pingMe
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Ping ping = new Ping();
我无法更新,因为找不到镜像:
[root@localhost ~]# yum update
Loaded plugins: langpacks, refresh-packagekit
Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=fedora-19&arch=i386 error was
14: curl#6 - "Could not resolve host: mirrors.fedoraproject.org; Name or service not known"
htt
下面是我正在运行的命令:
ping ldap.corp.XXXXX.com
LDAP服务器启动:
Pinging ldapeu.corp.XXXXX.com [XX.XXX.XXX.XX] with 32 bytes of data:
Reply from XX.XXX.XXX.XX: bytes=32 time<1ms TTL=252
LDAP服务器停机:
ping: ldap.corp.XXXXX.com: Name or service not known
如何在KSH文件中实现代码以确定LDAP服务器何时停机?
我已经给出了适配器Realtek PCIe GbE Family Controller的名称,但是每当我用ip address点击它时,它就会工作,但是给出网站,它会给我消息ping: google.com: Name or service not known。在无线适配器中,它可以工作。怎么处理呢?
我使用DNS-crypt代理作为本地DNS服务器,并以cloudflare作为解析器.
由于某些原因,尽管DNS解析,我还是不能ping www.automaticwebforms.com:
ping
$ ping www.automaticwebforms.com
ping: www.automaticwebforms.com: Name or service not known
网猫
$ netcat www.automaticwebforms.com 80
我正在尝试编写一个bash清扫器,我得到了两个错误消息。
第一个问题是:
./pingsweep.sh: line 2: [192.168.199.182: command not found
第二种是
ping: 192.168.199.182.seq: Name or service not known.
我无法从初始代码中发现错误:
#!/bin/bash
if ["$1" == ""]
then
echo "Usages:./pingsweep.sh [network]"
echo "Example: ./ping
我已经使用WSL Bash/Ubuntu几年了,但由于某种原因,最近出现了这个问题。DNS无法解析任何内部和外部名称。我第一次重新安装WSL的时候,我觉得它起作用了,有一天.但现在不是了,即使我重新安装。
来自Windows Store的Ubuntu 18.04的新安装:
user@hostname:~$ cat /etc/resolv.conf
# This file was automatically generated by WSL. To stop automatic generation of this file, remove this line.
nameserver
name
下面的命令出现了一个错误:
> wget sources.buildroot.net
--2017-01-04 09:22:20-- http://sources.buildroot.net/
Resolving sources.buildroot.net (sources.buildroot.net)... failed: Name or service not known.
wget: unable to resolve host address ‘sources.buildroot.net’
我做了什么,
ping sources.buildroot.net给ping: un
我想用永久名称访问Google引擎实例。我发现这里应该有一个内部DNS名称,例如:
updateservice.us-central1-a.c.myproject.internal
但是,如果我试图从云外壳来平这个实例,我只接收到:
ping: updateservice.us-central1-a.c.myproject.internal: Name or service not known
这是为什么?如何通过DNS名称访问更新服务?
我试图在联想哈曼/Kardon IdeaCentre上安装Arch,但我无法启动一个有效的互联网连接。
$ ping archlinux.org
ping: archlinux.org: Name or service not known
$ ping 8.8.8.8
ping: connect: Network is unreachable
这是在我连接到我家的Wi之后。我试过使用外部网络接口,但这不起作用,我也尝试运行。
$ systemctl start dchpcd@wlan0
Job for dhcpcd@wlan0.service failed because the contro
当ufw启用时,我为什么不能ping任何域/主机名?
[root@ip-172-31-23-37 ec2-user]# ping google.com
ping: google.com: Name or service not known
[root@ip-172-31-23-37 ec2-user]# ufw disable
Firewall stopped and disabled on system startup
[root@ip-172-31-23-37 ec2-user]# ping google.com
PING google.com (74.125.24.100) 56(84)
当我尝试使用以下方法启动dfs时:
start-dfs.sh
我说错了:
14/07/03 11:03:21 WARN util.NativeCodeLoader: Unable to load
native-hadoop library for your platform... using builtin-java classes
where applicable Starting namenodes on [OpenJDK 64-Bit Server VM
warning: You have loaded library
/usr/local/hadoop/lib/native/libha
我既不能通过主机名平也不能访问Windows 7 Samba共享。
如(除其他外) 某些计算机不能按主机名进行ping.所建议的,我已经编辑了/etc/nsswitch.conf以包括
hosts: files mdns4_minimal [NOTFOUND=return] wins dns mdns4
我也已按建议重新开始服务,但仍未开始。
当试图平平我的Windows 7机器时,输出是:
ping: <hostname>: Name or service not known
关于如何最好地解决Ubuntu上的Windows主机名的建议将不胜感激。提前感谢!
我刚刚在我的vps上安装了ubuntu-8.04-x86-默认程序,并试图获得更新,但与解析urls有关的错误。
我要去的每一个链接都会发生这种情况,这让我认为dns不起作用。
Resolving www.nano-editor.org... failed: Name or service not known.
root@dub:/home/malachi# ping google.com
ping: unknown host google.com
我该怎么做才能做到这一点?谢谢?
编辑
解决方案-我使用了google公共dns:
vi /etc/resolv.conf
插入
nameser
我目前正在编写以下脚本,该脚本登录到远程服务器并运行几个命令来验证服务器的性能,并根据这些命令的输出( .But )打印一条消息-- ssh不工作,而是返回承载脚本的服务器的状态。
脚本
#!/bin/bash
#######################
#Function to add hosts to the array
#the following function takes the ip addresses provided while the script is run and stores them in an array
####################
我的/etc/hosts文件如下所示:
# Your system has configured 'manage_etc_hosts' as True.
# As a result, if you wish for changes to this file to persist
# then you will need to either
# a.) make changes to the master file in /etc/cloud/templates/hosts.tmpl
# b.) change or remove the value of 'manage_
我刚刚设置了hadoop集群(namenode +一个datanode)。但是,当我尝试启动hdfs时,会出现以下错误:
hadoop@namenode:/opt/hadoop-2.2.0$ start-dfs.sh
14/01/30 20:18:50 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [Java HotSpot(TM) 64-
我从一个使用avahi的Manjaro客户机上发现了一个名为unaha-closp的服务器。然而,当我打开它时,我得到:
ping: unaha-closp.local: Name or service not known
在/etc/nsswitch.conf中,我的主机行是:
hosts: mymachines mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns
怎么一回事?
我正在通过VMware在ubuntu14.04上设置hadoop-2.7.2。
在迈克尔·g·诺尔的教程中所描述的步骤之后,当我尝试这个时,
/usr/local/hadoop/sbin/start-all.sh
我要拿到这些东西,
Instead use start-dfs.sh and start-yarn.sh
16/07/22 04:16:01 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where ap