当前位置: 首页 > 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://wiki.neutronadmin.com/news/185779/

相关文章:

  • 建设企业网站心得体会wordpress表单留言
  • 修改网站需要什么网页游戏脚本制作教程
  • 网站开发用的电脑彩页设计费多少
  • 咸阳做网站的公司互联网保险产品有哪些
  • 峡江网站建设wordpress修改标题链接
  • 企业网站导航下拉菜单怎么做搜索引擎广告投放
  • 网站设计超链接怎么做wordpress表格图表插件下载
  • 一个公司主体可以在多个网站做备案深圳分销网站建设
  • 建站模板招募设计师什么是网络营销服务?网络营销服务有哪些特点?
  • 表白网站在线制作软件计算机语言入门先学什么
  • 网站开发 pdf 文字版wordpress data
  • 网站推广方法主要有哪几种秦皇岛金洋建设集团网站
  • 做微网站需要什么海外推广服务
  • 北京网站优化招聘免费做产品宣传的网站
  • 免费建站哪家好重庆欧勒精细有限公司网站策划书
  • 公司网站非响应式外文网站做t检验分析
  • 海南省建设工程质量监督网站网页制作wordpress模板下载
  • 网络策略seo关键词排名优化怎么样
  • 商业网站开发模式wordpress评论删除站点
  • 做衣服网站coding wordpress
  • 哪个网站做的最好网站被k怎么恢复
  • 企业展示型网站建设wordpress主题压缩包
  • 个体工商注册查询平台seo 专业
  • 如何免费做网站邢台信息港二手房出售
  • 做网站好的网站建设公司排名网站静态和伪静态意思
  • 做影视网站有什么风险大学生网站建设与网页设计报告
  • 高端网站开发程资讯网站的好处
  • 如何建设内部网站顺德做网站
  • 哈尔滨营销型网站制作什么网站可以找手工活做
  • wordpress建站全教程无锡网站制作价格