当前位置: 首页 > news >正文

建站之星模板怎么设置判断网站首页

建站之星模板怎么设置,判断网站首页,凡科专属网站免费注册,列表网网站建设众所周知#xff1a; Ubuntu在域名解析时#xff0c;最直接使用的是/etc/resolve.conf文件#xff0c;它是/run/systemd/resolve/resolve.conf的软链接#xff0c;而对于刚装完的ubuntu系统#xff0c;该文件的内容如下 ubuntuip-172-31-36-184:/etc$ cat resolv.conf #…众所周知 Ubuntu在域名解析时最直接使用的是/etc/resolve.conf文件它是/run/systemd/resolve/resolve.conf的软链接而对于刚装完的ubuntu系统该文件的内容如下 ubuntuip-172-31-36-184:/etc$ cat resolv.conf # This file is managed by man:systemd-resolved(8). Do not edit. # # This is a dynamic resolv.conf file for connecting local clients directly to # all known uplink DNS servers. This file lists all configured search domains. # # Third party programs must not access this file directly, but only through the # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way, # replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf.nameserver 172.31.0.2 search ap-northeast-1.compute.internal第1步 修改/etc/systemd/resolved.conf例如 谷歌的dns8.8.8.8 cloudflare的dns: 1.1.1.1 ubuntuip-172-31-36-184:/etc/systemd$ ls journald.conf logind.conf network networkd.conf pstore.conf resolved.conf sleep.conf system system.conf timesyncd.conf user user.conf ubuntuip-172-31-36-184:/etc/systemd$ cat resolved.conf # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # # Entries in this file show the compile time defaults. # You can change settings by editing this file. # Defaults can be restored by simply deleting this file. # # See resolved.conf(5) for details[Resolve] DNS8.8.8.8 1.1.1.1 #FallbackDNS #Domains #LLMNRno #MulticastDNSno #DNSSECno #DNSOverTLSno #Cacheno-negative #DNSStubListeneryes #ReadEtcHostsyes个人猜测这个时候系统在往/run/systemd/resolve/resolv.conf里面写域名解析服务器地址的时候会从/etc/systemd/resolved.conf中取得DNS相关的配置。 2重启域名解析服务systemctl restart systemd-resolvedsystemctl enable systemd-resolved3备份当前的/etc/resolve.conf并重新设置/run/systemd/resolve/resolv.conf 到/etc/resolve.conf的软链接mv /etc/resolv.conf /etc/resolv.conf.bakln -s /run/systemd/resolve/resolv.conf /etc/验证 ubuntuip-172-31-36-184:/etc$ cat resolv.conf # This file is managed by man:systemd-resolved(8). Do not edit. # # This is a dynamic resolv.conf file for connecting local clients directly to # all known uplink DNS servers. This file lists all configured search domains. # # Third party programs must not access this file directly, but only through the # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way, # replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf.nameserver 8.8.8.8 nameserver 1.1.1.1 nameserver 172.31.0.2 search ap-northeast-1.compute.internal参考 1-华为云开发者论坛 2-csdn https://blog.csdn.net/booklijian/article/details/116491288
http://www.huolong8.cn/news/185779/

相关文章:

  • 成功的网站应该具备哪些要素衡量网站质量的标准
  • 珠海建设局网站首页系统重装后怎么装wordpress
  • 有学做衣服的网站吗wordpress重置主题
  • 网站如何做问卷调查报告怎么设计公司的网站模板
  • 奢侈品网站 方案在百度做网站推广怎么做
  • 天津网站建设公wordpress ping设置
  • 访问国外网站的软件网站建设怎么设置留言界面
  • 音乐网站建设方案创意wordpress主题
  • 自己怎样免费建网站动漫设计与制作招聘
  • 建设网站的意义 作用是什么wordpress模板 鸟
  • 上海网站快速排名优化深圳福永网站建设公司
  • 通州网站建设全包最便宜的视频网站建设
  • 响应式布局网站模板163邮箱登录企业邮箱
  • 访问网站速度慢南通建设网站公司
  • 福建住房城乡建设厅网站企业网站源码 html5+xml
  • 怎么用虚拟机做网站怎么在国外的搜索网站做推广
  • 网站部兼容是什么原因做网站哪里找程序员
  • 域名转出过程网站能打开吗如何做网站的营销
  • 广东网站设计工具购物网站建设开发费用分析
  • 自动下单网站开发开发软件
  • 网站规划与建设的案例分析七台河新闻视频
  • 免费域名查询网站超市型网站开发
  • 湖北建设厅网站上查询个人网页制作教程与步骤
  • 网站关键词是指什么企业网站建设服务商
  • 好的h5网站模板什么源码做有趣的网站
  • 做文案应该关注的网站推荐进度跟踪网站开发
  • 网络营销推广步骤网站页面优化包括
  • 做视频网站需要多少钱计算机网页设计与制作教程
  • 一站式服务广告语wordpress totalpoll
  • 庆阳市西峰区做网站合肥网站建