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

网站制作包括什么怎么做下载网站吗

网站制作包括什么,怎么做下载网站吗,网站后台忘记密码,通过RP如何做网站众所周知: Ubuntu在域名解析时,最直接使用的是/etc/resolve.conf文件,它是/run/systemd/resolve/resolve.conf的软链接,而对于刚装完的ubuntu系统,该文件的内容如下 ubuntuip-172-31-36-184:/etc$ cat resolv.conf #…

众所周知:

Ubuntu在域名解析时,最直接使用的是/etc/resolve.conf文件,它是/run/systemd/resolve/resolve.conf的软链接,而对于刚装完的ubuntu系统,该文件的内容如下

ubuntu@ip-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,例如:
谷歌的dns=8.8.8.8 cloudflare的dns: 1.1.1.1

ubuntu@ip-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
ubuntu@ip-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]
DNS=8.8.8.8 1.1.1.1
#FallbackDNS=
#Domains=
#LLMNR=no
#MulticastDNS=no
#DNSSEC=no
#DNSOverTLS=no
#Cache=no-negative
#DNSStubListener=yes
#ReadEtcHosts=yes

个人猜测,这个时候,系统在往/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/

验证:

ubuntu@ip-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.yayakq.cn/news/192802/

相关文章:

  • 自建网站平台 优帮云如何给网站配置域名
  • WordPress多语言多站点部门网站建设的目的和意义
  • 海南映客交友软件seo必备软件
  • 高效网站建设与维护岗位职责建大网站
  • 北京做机床的公司网站广东网站营销seo费用
  • 网站建设新手教程视频一线视频免费观看
  • 无锡网站建设xinysu购物网站开发的意义
  • 佛山网站建设联系wordpress第一次进来要几秒钟
  • 广汉移动网站建设网页设计跳转链接怎么制作
  • 设计本官方网站 网络服务天津建设银行公积金缴费网站
  • 广州市官网网站建设报价数据分析网站html模板下载
  • 东莞网站排名wordpress京豆插件
  • 网站源码下载了属于侵权吗成都网站开发
  • 网站建设 seo商情网网站的开发和建设有什么区别
  • 做网页设计卖钱的网站界面 网站
  • 雄安优秀网站建设方案设计网站软件开发
  • 怎么做网站首页关键词网站备案 万网
  • 一台ip做两个网站苏州做网站平台
  • 医院网站绿色模板深圳专业网站建设要求
  • 网站开发的方法和步骤做网站放什么
  • 建站平台软件天津工程信息建设网
  • 网站录入企业管理咨询与诊断
  • sql网站开发数据库连接失败莱芜民生网站
  • php网站建设面试网站关键词在哪里看
  • php与mysql网站开发全接触网站建设培训深圳
  • 南京宜电的网站谁做的安丘营销型网站建设
  • 营销型网站建立费用抖音推广方式有哪些
  • 建站宝盒成品网站演示网页制作基础教程慕课版
  • 哪个网站可以免费学设计百度小程序怎么删除
  • wordpress积分券网络seo关键词优化技术