انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید

نویسنده موضوع: مشکل DNS در اوبونتو (حل شد)  (دفعات بازدید: 961 بار)

0 کاربر و 4 مهمان درحال مشاهده موضوع.

آفلاین Yoord

  • Sr. Member
  • *
  • ارسال: 474
  • جنسیت : پسر
مشکل DNS در اوبونتو (حل شد)
« : 20 بهمن 1396، 01:01 ب‌ظ »
سلام
من در فایرفاکس یا برنامه تلگرام، اینترنت دارم و بدون مشکل استفاده می کنم، اما خود اوبونتو میگه که اینترنت نداره! و هیچ سروری کار نمیکنه یعنی کلا خود اوبونتو اینترنت نداره! اینو چیکارش کنم؟ چند جایی پرسیدم گفتن مشکل DNS داری. این مشکل بعد از حذف کردن تور به وجود اومده
ممنون

اینم محتویات فایل  etc/resolv.conf

# Generated by NetworkManager
nameserver 127.0.1.1

همه روش های این آموزش رو هم تست کردم درست نشد

https://askubuntu.com/questions/368435/how-do-i-fix-dns-resolving-which-doesnt-work-after-upgrading-to-ubuntu-13-10-s
« آخرین ویرایش: 20 بهمن 1396، 06:09 ب‌ظ توسط Yoord »
Everything started from a dream

آفلاین Emptyc

  • Full Member
  • *
  • ارسال: 215
  • جنسیت : پسر
پاسخ : مشکل DNS در اوبونتو
« پاسخ #1 : 20 بهمن 1396، 01:40 ب‌ظ »
من فکر میکنم مشکل از لیست مخازن سیستم‌عامل باشه  با دستور ریز چک کن ببین مشکلی نداره.
cat /etc/apt/sources.list
بُزُرْگي سَرآسَر بِهْ گُفتآرْ نيست ./. دُوصَد گُفْتِه چُو نیمْ کِرْدآرْ نیستْ.

آفلاین Yoord

  • Sr. Member
  • *
  • ارسال: 474
  • جنسیت : پسر
پاسخ : مشکل DNS در اوبونتو
« پاسخ #2 : 20 بهمن 1396، 01:48 ب‌ظ »
cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial universe main multiverse restricted #Added by software-properties
# deb-src http://ir.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe main multiverse restricted #Added by software-properties
# deb-src http://ir.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://ir.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://ir.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://ir.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://ir.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
# deb-src http://ir.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-security universe main multiverse restricted #Added by software-properties
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

Everything started from a dream

آفلاین Emptyc

  • Full Member
  • *
  • ارسال: 215
  • جنسیت : پسر
پاسخ : مشکل DNS در اوبونتو
« پاسخ #3 : 20 بهمن 1396، 04:55 ب‌ظ »
فکر میکنم این روش کمکت کنه قبل از انجام این کارا مطمئن شو که پراکسی تنظیم نکرده باشی.
۱- برنامه software & update رو باز کن
۲- از قسمت update software منوی download from رو باز کن و فکر میکنم بعدش باید بزنی رو other
۳- توی پنجره جدید از قسمت سمت راست روی select best server کلیک کن
۴- صبر کن تا سرور جدید رو انتخاب کنه
۵- بعد از اتمام کار برنامه sofware & update رو ببند و بعدش رو reload کلیک کن بعدش صبر کن تا مخازنت دوباره بروزرسانی بشن.
بُزُرْگي سَرآسَر بِهْ گُفتآرْ نيست ./. دُوصَد گُفْتِه چُو نیمْ کِرْدآرْ نیستْ.

آفلاین Yoord

  • Sr. Member
  • *
  • ارسال: 474
  • جنسیت : پسر
پاسخ : مشکل DNS در اوبونتو
« پاسخ #4 : 20 بهمن 1396، 05:14 ب‌ظ »
اینترنتی نیست که بخواد سرورهای دیگه رو چک کنه!
Everything started from a dream

آفلاین Emptyc

  • Full Member
  • *
  • ارسال: 215
  • جنسیت : پسر
پاسخ : مشکل DNS در اوبونتو
« پاسخ #5 : 20 بهمن 1396، 05:43 ب‌ظ »
اینترنتی نیست که بخواد سرورهای دیگه رو چک کنه!
شما DNS رو به Ip دیگه تغییر بده آموزشش رو اینجا گذاشتم. فکر میکردم اینترنت داری چون اگه DNS مشکل داشته باشه firefox نباید کارکنه یه احتمال دیگه این میتونه باشه که پراکسی تنظیم کرده باشی! ولی شما DNS رو به nameserver 9.9.9.9 تغییر بده ببین مشکل برطرف میشه یا نه.
بُزُرْگي سَرآسَر بِهْ گُفتآرْ نيست ./. دُوصَد گُفْتِه چُو نیمْ کِرْدآرْ نیستْ.

آفلاین Yoord

  • Sr. Member
  • *
  • ارسال: 474
  • جنسیت : پسر
پاسخ : مشکل DNS در اوبونتو
« پاسخ #6 : 20 بهمن 1396، 05:51 ب‌ظ »
به 9.9.9.9 تغییر دادم درست شد :|
Everything started from a dream