-4
votes
1answer
97 views

Hijack DNS on my local Ubuntu machine? [closed]

How can I hijack a DNS entry for an domain name on Linux (Ubuntu 12.04)? I am interested in creating a DNS CNAME alias for domain1.com to domain2.test.com. The problem is the applications uses 5 ...
0
votes
1answer
262 views

How to get global ip for virtualbox guest os

I'm trying to setup ubuntu server in virtualbox. Host is Windows 7 x64 Guest is Ubuntu 11.10 x64 All I want to do is, to make this server accessible from internet. How can I do it? Please help.
1
vote
2answers
208 views

*.domain.local in my /etc/hosts

Can I set access to all subdomains in my local domain in etc/hosts file? Like 127.0.0.1 localhost *.domain.local Now it looks like 127.0.0.1 localhost domain.local mail.domain.local ...
-2
votes
3answers
674 views

Can't edit file after `chattr +i`

After chattr +i /etc/hosts I can't edit this file (obviously). But how can I revert it back. I need to edit this file and then lock again. UPD ls -l /etc/hosts -rw-r--r-- 1 root root 274 ...
2
votes
1answer
2k views

Getting “unknown host” on hostname despite adding it to /etc/hosts

I have an Ubuntu server called crow: $ hostname crow But when I try to ping it (from itself), I get unknown host: $ ping crow ping: unknown host crow This is despite explicitly adding crow to ...
0
votes
1answer
443 views

What should my FQDN be?

When I setup my server, the guide said to use ns1.domain.com, (both my nameservers are ns1.domain.com and ns2.domain.com). However, recently, I changed it to www.domain.com, and everything works.. ...
0
votes
4answers
4k views

hostname -f says “hostname: the specified hostname is invalid”. Guess why?

hostname -f says "hostname: the specified hostname is invalid". The hostname (FQDN) specified in /etc/hostname is also listed in /etc/hosts and is pingable. No actual DNS server yet of the host knows. ...
6
votes
2answers
3k views

hosts file seems to be ignored

I have almost fresh Ubuntu desktop box. OS was installed two weeks ago and updated from karmic repositories. Last week I had no problems with DNS. But this week something had changed. I'm not sure ...
3
votes
2answers
2k views

sendmail on ubuntu (9.10) machine “stopped” sending mail

I'm developing on my ubuntu 9.10 machine for the web (php). I'm using it sendmail for sending mails, and while developing on my local machine, I send local mails (to my user 'doron'). Up until a ...
2
votes
5answers
3k views

DHCP: Logging host declarations in log file

I am currently running ISC-DHCP server v3 on Ubuntu 8.04. What I am trying to do is log Who got what IP address when. Currently in the DHCP log file you can see the following: DHCPDISCOVER from ...