小编Wil*_*rds的帖子

是否有 init.d 启动日志?

我遇到了 init.d 脚本问题(服务无法启动),所以我想知道是否有可用的日志以便我可以解决问题。

logs centos init.d

6
推荐指数
1
解决办法
4万
查看次数

是否可以为不同的用户设置不同的 DNS 服务器?

是否可以为不同的用户设置不同的 DNS 服务器?

比方说用户test1使用谷歌的DNS(8.8.8.88.8.8.8),test2会使用0.0.0.0,都test3test4会使用127.0.0.1

这可能吗?

networking dns resolv.conf

5
推荐指数
2
解决办法
2539
查看次数

为什么我的 /etc/hosts 文件没有被读取?

我的/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_etc_hosts' in
#     /etc/cloud/cloud.cfg or cloud-config from user-data
127.0.1.1 ansible-server ansible-server
127.0.0.1 localhost

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix …
Run Code Online (Sandbox Code Playgroud)

hosts ansible

0
推荐指数
1
解决办法
4107
查看次数

标签 统计

ansible ×1

centos ×1

dns ×1

hosts ×1

init.d ×1

logs ×1

networking ×1

resolv.conf ×1