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

seo网站推广优化费用千峰培训出来好就业吗

seo网站推广优化费用,千峰培训出来好就业吗,怎样做日本淘宝网站,做农业网站众所周知: 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.hkea.cn/news/17315/

相关文章:

  • 做收集信息的网站域名seo查询
  • 云南省建设执业注册管理中心网站怎么优化自己网站的关键词
  • 怎么做北京赛车网站软文范文大全1000字
  • 专业医院网站建设18款免费软件app下载
  • 上海集酷网站网站建设黄页视频
  • 专用主机方式建设网站媒介星软文平台
  • 两学一做考试网站seo咨询价格找推推蛙
  • 如何修改wordpress后台绑定的域名seo网站推广与优化方案
  • 温州seo优化公司seo最新教程
  • 百度山西网站建设和百度推广世界十大网站排名
  • 网站建设服务器可以租吗seo关键词优化软件合作
  • 西宁手机网站微站建设常德seo公司
  • 河北省住房和城乡建设厅官方网站凡科建站
  • php语言 电商网站建设网店营销
  • 网站备案全国合作拍照点 腾讯云互动营销案例
  • 重庆祥云平台做网站长沙网络公司营销推广
  • 河南网站建设推广运营广告联盟推广
  • 机械加工网上接单平台有哪些啊?搜索引擎优化趋势
  • 看到一个电商网站帮做淘宝seo每日
  • 怎么做网站教程 用的工具bt搜索引擎最好用的
  • 家居定制类网站建设seo是搜索引擎营销吗
  • 做游戏制作 网站黑马培训价目表
  • 网络规划方案计划书电脑清理优化大师
  • 青岛商业网站建设长沙靠谱的关键词优化
  • 吉林网站建设企业绍兴seo排名
  • 做外贸网站能用虚拟主机吗西安百度推广优化公司
  • 主题网站开发报告网络广告案例
  • 化妆品电子商务网站建设策划书搜索引擎优化的对比
  • 网站关键词排名优化软件电工培训课程
  • 湘潭做网站找磐石网络一流做博客的seo技巧