Linux / UNIX Tech Support Forum
This is a discussion on Ubuntu etc resolv conf (/etc/resolv.conf) within the Ubuntu / Debian forums, part of the Linux Distribution category; My /etc/resolv.conf is not writable. How do I make it writable and what is the format for the same without ...
|
|||||||
| Ubuntu / Debian Discussion about Debian or Ubuntu Linux related problems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
| Sponsored Links | ||
|
|
|
||||
|
Here is my file
Code:
cat /etc/resolv.conf Code:
nameserver 127.0.0.1 nameserver 192.168.0.1 nameserver 4.2.2.1 Code:
chmod 0755 /etc/resolv.conf ls -l /etc/resolv.conf http://www.cyberciti.biz/tips/linux-password-trick.html
__________________
Vivek Gite Linux Evangelist |
|
|||
|
Quote:
|
|
||||
|
Yes rw r r (0644) is sufficient permission for resolv.conf.
__________________
Vivek Gite Linux Evangelist |
|
|||
|
Thanks. One more question, think it has also to do with resolv.conf or so: I have Debian (etch), DynDNS, BIIND9. When doing nslookup it works correctly and resolves my DynDNS domain name to the actual IP addres of my machnie, but when trying to ping, it shows another IP address, and 100% packet loss. I tried restarting bind9 and resolvconf but it doesn't help. What might be the problem and what - the solution?
Thanks in advance By the way: nice site. +10 |
|
||||
|
Quote:
Code:
dig your.dnydns.com A +trace Code:
sudo /etc/init.d/nscd restart sudo /etc/init.d/named restart
__________________
Vivek Gite Linux Evangelist |
|
|||
|
Quote:
Code:
; <<>> DiG 9.3.4-P1.1 <<>> port.selfip.org A +trace ;; global options: printcmd . 517026 IN NS ns7.opennic.glue. . 517026 IN NS ns21.opennic.glue. . 517026 IN NS ns22.opennic.glue. . 517026 IN NS ns1.opennic.glue. . 517026 IN NS ns2.opennic.glue. . 517026 IN NS ns5.opennic.glue. . 517026 IN NS ns6.opennic.glue. ;; Received 262 bytes from 127.0.0.1#53(127.0.0.1) in 0 ms and it tells that it could not get address for ns5/ns7.opennic.glue. Should I remove anything about .glue zone form the BIND9 config? I anyway cannot get it working - the forwarders do resolve opennic.glue, but the local name server doesn't. |
![]() |
| Tags |
| /etc/resolv.conf , linux , networking , ubuntu |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| getting errors from named.conf in rhel5 | ashu.wifi | CentOS / RHEL / Fedora | 2 | 17-09-2008 02:02 PM |
| httpd.conf deleted! How to re-generate? Any Scripts? | vivekv | Shell scripting | 1 | 17-07-2008 05:13 PM |
| atal error. /etc/modules.conf not found | ppnair | CentOS / RHEL / Fedora | 5 | 01-03-2008 09:06 PM |
| httpd.conf deleted! How to re-generate? | vivekv | Getting started tutorials | 2 | 17-01-2008 03:45 PM |
| How to add MIB's in snmpd.conf file | manish_2479 | Networking, Firewalls and Security | 0 | 10-07-2007 01:26 AM |