Debian Configuration :: Picking Up The ISP's DNS Servers And Using That As The Nameserver Entries?
Aug 15, 2010
How can I have /etc/resolv.conf point to my router address as the nameserver nameserver 192.168.1.1
instead of picking up the ISP's DNS servers and using that as the nameserver entries? Reason being I have more than one ISP account, and when I change I do not want to have to remember to restart the networking service. because i often forget.
As I understand it, /etc/resolv.conf is rewritten at boot time by NetworkManager (a script?)I have a problem in the order the nameserver entries are written by my system (F13). This is:
I tried installing gnome-desktop, which wiped out /etc/resolv.conf (and ultimately failed to install). A comment was left in resolv.conf saying "do not edit..". Where is the proper place to list nameservers in debian?
This continues a thread started in the applications forum:mc hangs temporarily when network is downmc (Midnight Commander) hangs on my desktop but not on my laptop. When I compared desktop and laptop configurations, I found the following differences:
I have a small webserver running ubuntu server 10.4. It runs fine except after every reboot, I get DNS errors. I have to manually edit /etc/resolv.conf to add: Code: nameserver 192.168.1.1 The address of my internet gateway on my LAN. Obviously I am ignoring the warning in resolv.conf that this will be overwritten.
does anyone know of a good site/book/guide to learn about linux web server administration? and also how do you find the your own nameserver numbers? would that just be the IP of my web server?networking isn't my forte, but i do intend to learn with this project.
nslookup tests show that my reverse lookup is functioning correctly. However, if I use "myworkstation" to connect to myserver.mydomain.com using an external nameserver SSH says: "Address 84.162.xx.yy maps to myserver.mydomain.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!"
On myserver the /etc/hosts has the internal address for the server which seems the normal way to go to me. Changing this to the servers external address solves the issue.
Apparently a connection originating from myworkstation arrives from/with my external address, and when its reverse is checked by the server it apparently finds its own internal address for that name in /etc/hosts before doing a nameserver query and thus concludes that internaladdress <> externaladdress which gives the error.
Is there any way to have the server check external DNS before /etc/hosts? Another solution would probably be running an internal DNS, so myworkstation doesn't connect through the 'outside'.
I've been dual booting Windows 7 and Debian on my desktop ever since. But recently I installed Debian again on a new laptop that I recently bought and unfortunately it's being very different from my first successful installation. The first problem is that Network Manager is not picking up internet on the new laptop. The Wireless tab is grayed out, so I can't click it and look for a new one. I've been using Wired internet since, but if I want to take it to work I have to have it be Wireless-able. Currently my Wireless Card is a Broadcom 4313 802.11 b/g/n which I'm fairly sure is supported. The second problem is installing Firefox. On my first installation it worked fine, and the bin file loaded and everything. However, for this second one that's been a completely different situation and the bin file hasn't worked (by this I mean I can't double click it to open it).
Is it possible to add menu entries for older kernels to boot instead of the latest?
I have tried this in Ubuntu 10.04 and it hasn't worked.
This used to be possible with ease in grub legacy.
I copied the current menu entry from /boot/grub/grub.cfg and pasted it in the /etc/grub.d/ 20_custom file.
Then I changed the kernel number to the older kernel number and the initrd number too. #update-grub puts this entry into 'grub.cfg', but it doesn't work.
I get:
The old kernel is in /boot as well as the respective initrd and config files.
It seems like ifconfig used to show which DNS servers were being addressed, but something has changed, I need to know whether I am referencing what I think I am... I have search this forum, googled, and come up empty... did the metrics go away with 8.2? Was I dreaming at 7.5?
Running 9.04 Xubuntu desktop as server and development environment. I turn off gdm once booted up. When sshing in for other computer I ran htop, and found the following multiple processes:
[Code]....
Is there any good reason why I have multiples of these, or conversely is there a problem by having them? Everything works OK. Apache is only serving up my web development pages which I work on now and then, so its not having to handle external traffic. The server is port forwarded on port 80 through the router.
I recently installed two PC with debian lenny (kernel 2.6.26). One is called serveur-debian1 and the second one serveur-debian2. I have installed gnome,samba, mysql5, apache2, php5, and Virtualbox,bridge-tools on them. On serveur-debian2, i installed an other virtual debian lenny with apache2,mysql5,php5,nagios and centreon on it to view my network. I remember having installed a soft to access nntp on serveur-debian2 in order to test nagios.
Since a few days, i have problem to access to my servers. rom my windows 7 client, i try to ping serveur-debian1. Response is OK but not for all resquets Always from the same computer, i try to ping serveur-debian2. Response is OK but not for all again.
When i launch a ping on serveur-debian1 and serveur debian2 at the same time i have:
ping 1 to 10: serveur-debian1: response OK serveur-debian2: no response ping 11to 14: serveur-debian1: no response serveur-debian2: response OK ping 15 to 25: serveur-debian1: respone OK serveur-debian2: @ip serveur-debian1 network unreachable (there's no error, it shows me the ip of serveur-debian1)
If i switch on the debian virtual server on the serveur-debian2, and i ping it at the same time, the response is OK for all resquests. The problem is very strange. I can't have a correct connection and when i launch a request from a software which access the mysql server, the requests failed ...
I now have 2 desktops running debian. I have virtual servers running in desktop 1, and I am hosting my photos using Gallery2. I have copied Gallery2 and the mysql over to desktop 2. I have entered port forward to desktop 1 using port 80 (using my router), and desktop 2 using port 1000. I can only access Gallery2 in desktop1. If I tried to access Gallery2 in desktop 2, I got re-directed to desktop1.
Questions:
1. Are home routers capable of port forward to more than one computers in a home network behind the firewall of the router? It is Belkin N+ router.
2. Can multiple virtual servers be setup in 2 desktops?
I am not referring to the bash history file. I am referring to the system log file. All of my console activity (letter for letter) is being stored in the system log. It's my understanding that version 4.1 of bash is where this behavior first started but was originally optional. I don't like it and I want to stop it. I am using a current version of jessie with bash 4.3 and I can find no way of turning it off
Monitoring the activities of users may be necessary .for admins in a business environment but this is a home computer and I consider this kind of tracking intrusive and unwanted.
I first noticed this with the journal system log and mistakenly though it had to do with journal so I removed the journal system and installed dsyslog which has the same behavior.
Perhaps debian should offer two versions of bash. It's my understanding that this is configured in a header before compiling.
I am working on Red Hat Linux since last six months and learning it steps by steps. like configurating ftp server,NSF ,DNS and then email server. I want to learn squid server but technically before going into it what you suggest me that may I first learn to configure Linux as a router,Firewall machine or do IP masquerading on a server. Because all these things are directly or indirectly involve in squid.So guide me because going to start squid i may understand Linux IP table ,how to add entries in it,how to delete entries ,I think you understand my point which i want to ask for guidence.
What I would like to do is, with a right click, have the menu give me the option to run srm, which is a "secure remove" program. I picked this one as it requires not only a file name, but some other options. I've run into no support adding things to menus. When I updated one of the Debian versions, I lost the shutdown option from the name menu that used to be there. It was suggested that I right click and pick that option to restore it, but I get the same as the left button on that menu.
I am using Squeeze and all appears OK at first... I have a DHCP lease, PING to router works, apache servering fine in and outside the network, Epiphany seems to connects to default debian.org only, BUT I cannot connect to any other websites and apt will not connect to any servers. I installed once, tried to fix problem, gave up and reinstalled and still have the same problem.
I unistalled Network Manager thinking that was the problem, but still the same issue. Is there a default firewall blocking certain connections or am I missing something I'm supposed to know about? I installed some non-free firmware in the beginning of install and all worked... and I connected fine when downloading packages during install.
During the install one of the screens towards the end asked what "collections" of software I wanted to install. Such as a graphical desktop, web server, dns server, sql database etc.
I only chose a couple because I would like to install some things a certain way, but if in the future I chose to install say the graphical desktop, do I have an easy access to install it like the original installer would have done? I know I could do a google search on it but it would be nice if I could have it and others installed just as the installer would've done.
A server at which I have an account has changed things. The new /etc/resolv.conf fails to resolve a lot of addresses. I can use dig @ with OpenDNS and resolve them successfully, but how do I get apps, such as sendmail, to use a nameserver I specify? It'd be nice if a user could have his own additions to resolv.conf, but I don't see that in the docs, or a way to get sendmail to use a specified nameserver.
First of all - to refresh icon on desktop i've had to install gamin instead fam (after this, icons on desktop was refresh correctly). I don't know that have connection, but who knows. Anyway - my problem. Things marked as red are duplicated entries in menu. How to simple delete them? Menu are not refreshing too - i unmark "Inne" (Others) in alacarte, but it's still visible.
Ok, one more question on nameserver security. So I was reading this post and it recommended not setting a defined outgoing port for your nameserver due to the Kaminsky vulnerability.What is the proper way to lock down a nameserver, but avoid the vulnerability of only allowing incoming and outgoing requests on port 53
I have an iPod Classic 6th Gen and am using Banshee for my music needs, however Banshee is not picking up my iPod. When I connect the iPod via my USB Cable, it is visible in the File Browser, and mounted to the Desktop. Banshee just isn't picking it up!
I installed virtualbox xp, but now its installed, (i installed from my dvd drive!) it isnt picking up my dvd drive..SO.I thought if i added some 'shared folders', I could transfer the folders i needed from my virtual xp convertxtodvd instalation, then drag them into my proper unbuntu desktop, and then burn the files that way,.....Fat chance..Of course, I should realise by now that most things ubuntu does is not easy.I mean, this is absolute gibberish to me?Please tell my why i have to keep typing in code to use ubuntu!its not 1980!!Quote:really dont understand this..Or i may just have to switch back to xp.., i mean, im having to use an xp emulator anyway, lol.. whats the point in staying.
i've just setup a vps server with 11.4 everything is almost look fine now, but i couldn't setup a nameserver, i've searched on the internet about that but directories is different in suse. anyway i registered a domain on onlinenic yesterday and i want to use this domain as a nameserver and my hostname. how can i do that ? and do i need to have at least 2 ip for that ?
I have a own firewall which is also acting as a nameserver for my own network. From Windows machines everything works perfectly i.e. I can access my computers / equipments with the defined names instead of ip-addresses. But not with Ubuntu machines! Below example taken from my Ubuntu machine.