我有Ubuntu12.10安装在VMware工作站作为客人。VM的网络适配器被设置为“桥接器”,因此它看起来应该像直接连接到我所有的计算机连接到的交换机。
我试图让VM连接到主机上的共享。主机的计算机名为MyComp,工作组为WORKGROUP。主机正在运行Windows 7 64位.
在Nautilus,我选择File > Connect to server。然后,我将其设置为Windows Share,并尝试连接到我的计算机。如果我将MyComp设置为服务器名,则Failed to retrieve share list from server的连接将失败。如果我将它设置为ip地址1
我将此代码添加到sendmail.mc文件中:
dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl #
define(`SMART_HOST',`in.hes.trendmicro.eu')dnl
dnl #
我执行了m4转换以生成sendmail.cf文件,添加了以下代码:
DSin.hes.trendmicro.eu
我在/var/mail/示例中得到以下错误:
<
cat /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
dhcp4: true
version: 2
但是我的resolv.conf看起来是这样的:
cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by r
NAT后面有一个DNS和活动目录服务器(我必须这么做)。在DNS服务器上,AD自动为私有ip地址添加NS记录。如何设置策略来响应特定子网的本地NS记录?
abc.com
10.0.0.2 private
1.1.1.2 public
当我查询名称服务器时,它返回两个NS记录。
我需要这样的政策;
When query comes from 10.0.0.0/8 it should return 10.0.0.2 NS record
When query comes from any other ip it should retun 1.1.1.2 NS record
当我执行nmap -sn 192.168.1.1-255时,我得到:
Nmap scan report for router (192.168.1.1)
Host is up (0.037s latency).
Nmap scan report for 192.168.1.17 # This is my smart TV
Host is up (0.054s latency).
Nmap scan report for prometheus (192.168.1.164)
Host is up (0.0020s latency).
Nmap done: 255 IP addresses (
发送的邮件正在排队等候,错误如下:
`(Host or domain name not found. Name service error for name=srvr1.com.my type=MX: Host not found, try again)`
但是,我已经在/etc/hosts中为该域定义了主机条目。